From fb67a9b969b339e9440ad4045770d42af1bcfd40 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 26 Oct 2025 01:16:11 +0900 Subject: [PATCH] [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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7f2627..5ffd8d2 100644 --- a/README.md +++ b/README.md @@ -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" },