Class: ClaudeAgentSDK::SdkMcpTool

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

SDK MCP Tool definition

Instance Attribute Summary collapse

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

#annotationsObject

Returns the value of attribute annotations.



1544
1545
1546
# File 'lib/claude_agent_sdk/types.rb', line 1544

def annotations
  @annotations
end

#descriptionObject

Returns the value of attribute description.



1544
1545
1546
# File 'lib/claude_agent_sdk/types.rb', line 1544

def description
  @description
end

#handlerObject

Returns the value of attribute handler.



1544
1545
1546
# File 'lib/claude_agent_sdk/types.rb', line 1544

def handler
  @handler
end

#input_schemaObject

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

#metaObject

Returns the value of attribute meta.



1544
1545
1546
# File 'lib/claude_agent_sdk/types.rb', line 1544

def meta
  @meta
end

#nameObject

Returns the value of attribute name.



1544
1545
1546
# File 'lib/claude_agent_sdk/types.rb', line 1544

def name
  @name
end