Merge pull request #171 from koic/fix_incorrect_schema_name
[Doc] Fix incorrect schema name
This commit is contained in:
commit
cdf5b1cf92
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ Output schema may also describe an array of objects:
|
|||
class WeatherTool < MCP::Tool
|
||||
output_schema(
|
||||
type: "array",
|
||||
item: {
|
||||
items: {
|
||||
properties: {
|
||||
temperature: { type: "number" },
|
||||
condition: { type: "string" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue