plano/function_resolver/test/test_payload_missing_param.json

33 lines
780 B
JSON
Raw Normal View History

{
"messages": [
{
"role": "user",
"content": "Find the area of a triangle"
}
],
"tools": [
{
"name": "calculate_triangle_area",
"description": "Calculate the area of a triangle given its base and height.",
"parameters": {
"type": "dict",
"properties": {
"base": {
"type": "integer",
"description": "The base of the triangle."
},
"height": {
"type": "integer",
"description": "The height of the triangle."
},
"unit": {
"type": "string",
"description": "The unit of measure (defaults to 'units' if not specified)"
}
},
"required": ["base", "height"]
}
}
]
}