Class: ClaudeAgentSDK::SdkMcpTool
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
SDK MCP Tool definition
Instance Attribute Summary collapse
-
#annotations ⇒ Object
Returns the value of attribute annotations.
-
#description ⇒ Object
Returns the value of attribute description.
-
#handler ⇒ Object
Returns the value of attribute handler.
-
#input_schema ⇒ Object
Returns the value of attribute input_schema.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#name ⇒ Object
Returns the value of attribute name.
Method Summary
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
#annotations ⇒ Object
Returns the value of attribute annotations.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def annotations @annotations end |
#description ⇒ Object
Returns the value of attribute description.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def description @description end |
#handler ⇒ Object
Returns the value of attribute handler.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def handler @handler end |
#input_schema ⇒ Object
Returns the value of attribute input_schema.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def input_schema @input_schema end |
#meta ⇒ Object
Returns the value of attribute meta.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def @meta end |
#name ⇒ Object
Returns the value of attribute name.
1544 1545 1546 |
# File 'lib/claude_agent_sdk/types.rb', line 1544 def name @name end |