[Doc] Fix incorrect schema name
This PR fixes an incorrect schema name. The test code already uses `items:`. https://github.com/modelcontextprotocol/ruby-sdk/blob/v0.4.0/test/mcp/tool/output_schema_test.rb#L135-L141 Fixes #170.
This commit is contained in:
parent
61d48cd6d9
commit
fb67a9b969
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