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
|
class WeatherTool < MCP::Tool
|
||||||
output_schema(
|
output_schema(
|
||||||
type: "array",
|
type: "array",
|
||||||
item: {
|
items: {
|
||||||
properties: {
|
properties: {
|
||||||
temperature: { type: "number" },
|
temperature: { type: "number" },
|
||||||
condition: { type: "string" },
|
condition: { type: "string" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue