Dynamic-Function-Calling-Agent / schemas /weather_forecast.json
jlov7's picture
feat: Multi-tool selection and robustness testing
6639f75
raw
history blame
966 Bytes
{
"name": "get_weather_forecast",
"description": "Get detailed weather forecast for a location with specific parameters",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
},
"days": {
"type": "integer",
"description": "Number of forecast days (1-7)",
"minimum": 1,
"maximum": 7
},
"units": {
"type": "string",
"enum": ["metric", "imperial", "kelvin"],
"description": "Temperature units"
},
"include_hourly": {
"type": "boolean",
"description": "Include hourly breakdown"
}
},
"required": ["location", "days"]
},
"test_questions": [
"What's the 3-day weather forecast for San Francisco in Celsius?",
"Give me tomorrow's weather for London with hourly details",
"Show 5-day forecast for Tokyo in imperial units"
]
}