Class: ClaudeAgentSDK::McpServerInfo

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

Overview

MCP server info (name and version)

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

#nameObject

Returns the value of attribute name.



1106
1107
1108
# File 'lib/claude_agent_sdk/types.rb', line 1106

def name
  @name
end

#versionObject

Returns the value of attribute version.



1106
1107
1108
# File 'lib/claude_agent_sdk/types.rb', line 1106

def version
  @version
end