Method: MCP::Tool.input_schema
- Defined in:
- lib/mcp/tool.rb
.input_schema(value = NOT_SET) ⇒ Object
88 89 90 91 92 93 94 95 96 |
# File 'lib/mcp/tool.rb', line 88 def input_schema(value = NOT_SET) if value == NOT_SET input_schema_value elsif value.is_a?(Hash) @input_schema_value = InputSchema.new(value) elsif value.is_a?(InputSchema) @input_schema_value = value end end |