Class: ClaudeAgentSDK::McpToolAnnotations
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
MCP tool annotation hints
Instance Attribute Summary collapse
-
#destructive ⇒ Object
Returns the value of attribute destructive.
-
#open_world ⇒ Object
Returns the value of attribute open_world.
-
#read_only ⇒ Object
Returns the value of attribute read_only.
Class Method Summary collapse
-
.parse(data) ⇒ Object
Backwards-compatible parse; returns nil for nil input.
Methods inherited from Type
#[], #[]=, from_hash, #initialize, #to_h, wrap
Constructor Details
This class inherits a constructor from ClaudeAgentSDK::Type
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#destructive ⇒ Object
Returns the value of attribute destructive.
1111 1112 1113 |
# File 'lib/claude_agent_sdk/types.rb', line 1111 def destructive @destructive end |
#open_world ⇒ Object
Returns the value of attribute open_world.
1111 1112 1113 |
# File 'lib/claude_agent_sdk/types.rb', line 1111 def open_world @open_world end |
#read_only ⇒ Object
Returns the value of attribute read_only.
1111 1112 1113 |
# File 'lib/claude_agent_sdk/types.rb', line 1111 def read_only @read_only end |
Class Method Details
.parse(data) ⇒ Object
Backwards-compatible parse; returns nil for nil input.
1114 1115 1116 |
# File 'lib/claude_agent_sdk/types.rb', line 1114 def self.parse(data) from_hash(data) end |