ezzy
03/28/2026, 5:16 PMAI Evy
03/28/2026, 5:16 PMAI Evy
03/28/2026, 5:16 PMjson
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"name": {
"type": "object",
"description": "",
"properties": {
"first_name": {
"type": "string",
"description": "User first name"
},
"last_name": {
"type": "string",
"const": "{{last_name}}"
}
}
},
"order_id": {
"type": "number",
"const": 1234
}
}
}
Key Points:
- You can use "description" for the LLM to resolve the value dynamically
- You can use "const" to apply a value directly to the function
- Both description and const value can include dynamic variables using {{variable_name}} format
Common Issues:
- Ensure you add "type": "object" at the top level of your JSON schema
- For dynamic variables in URLs or query parameters, use double curly braces: {{variable_name}} [(2) ]() [(3) ]()
- Variables must be extracted before the function call that uses them [(3) ]()
Update Node Instruction
Guide the LLM on when to use the function in your node's prompt instruction. [(4) ]() For example:AI Evy
03/28/2026, 5:16 PMHelp the user check their order status. If the user provides an order number,
call the check_order_status function to look up the order.AI Evy
03/28/2026, 5:17 PMAI Evy
03/28/2026, 5:17 PM