ruby-sdk/lib/mcp/tool
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO cae30547d2 Set default values for ToolAnnotations hints
According to the specification, `destructive_hint`, `idempotent_hint`, `open_world_hint`,
and `read_only_hint` of `ToolAnnotations` are optional with default values:
https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations

This PR sets their default values in accordance with the specification.

Additionally, for readability, the hints have been reordered to follow the specification.
2025-08-28 01:13:57 +09:00
..
annotations.rb Set default values for ToolAnnotations hints 2025-08-28 01:13:57 +09:00
input_schema.rb inputSchema interface requires type key 2025-07-31 08:36:18 +02:00
response.rb Nicer error API 2025-08-18 16:50:20 +02:00