Skip to content

Commit fb67a9b

Browse files
committed
[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.
1 parent 61d48cd commit fb67a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ Output schema may also describe an array of objects:
551551
class WeatherTool < MCP::Tool
552552
output_schema(
553553
type: "array",
554-
item: {
554+
items: {
555555
properties: {
556556
temperature: { type: "number" },
557557
condition: { type: "string" },

0 commit comments

Comments
 (0)