mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
33 lines
780 B
JSON
33 lines
780 B
JSON
|
|
{
|
||
|
|
"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"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|