step2
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user