Parameters
Define Parameters in JSON Schema
{
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The name of the city or geographic coordinates for weather lookup."
},
"unit": {
"type": "string",
"enum": ["metric", "imperial"],
"description": "The temperature unit: 'metric' for Celsius, 'imperial' for Fahrenheit."
}
},
"required": ["location"],
"additionalProperties": false,
}How the AI Uses These Parameters
Returning the Response
Format responseLast updated