Files
piperust/tools.example.json
T
2026-10-17 15:49:20 +01:00

38 lines
1011 B
JSON

[
{
"name": "get_weather",
"description": "Current weather and temperature for a city. Call this whenever the user asks about the weather, the temperature or the forecast for a specific place.",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name, e.g. 'Paris' or 'Roma'"
}
},
"required": ["city"]
},
"url": "https://wttr.in/{city}?format=3",
"method": "GET"
},
{
"name": "send_webhook",
"description": "POST a JSON payload to the configured webhook endpoint (notification / home-automation hook).",
"parameters": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Text payload to send to the webhook"
}
},
"required": ["message"]
},
"url": "https://httpbin.org/post",
"method": "POST",
"headers": {
"X-Tool": "audio-agent-engine"
}
}
]