Lilkty
12/22/2025, 9:01 AMAI Evy
12/22/2025, 9:01 AMAI Evy
12/22/2025, 9:01 AM"type": "object" at the top level
One common mistake is not adding "type": "object", to the top level of the JSON schema. [(1) ]() [(2) ]()
2. Including function name/description in the JSON
If you're including the function/tool name and description inside the JSON parameters field, that will cause issues. The name and description need to go in the separate form fields—only the parameters portion should go in the JSON parameters field. [(3) ]()
Here's an example of a valid parameter schema:
json
{
"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
}
}
}
[(1) ]() [(2) ]()
If you're still having trouble, try clicking one of the example templates in the dashboard and updating it accordingly.AI Evy
12/22/2025, 9:01 AMAI Evy
12/22/2025, 9:01 AM