We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053cbc7 commit 0cf7f87Copy full SHA for 0cf7f87
mcp.md
@@ -312,7 +312,8 @@ class CurrentWeatherTool extends Tool
312
->description('The location to get the weather for.')
313
->required(),
314
315
- 'units' => $schema->enum(['celsius', 'fahrenheit'])
+ 'units' => $schema->array()
316
+ ->enum(['celsius', 'fahrenheit'])
317
->description('The temperature units to use.')
318
->default('celsius'),
319
];
0 commit comments