Class: ClaudeAgentSDK::McpStatusResponse
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Response from get_mcp_status containing all server statuses
Instance Attribute Summary collapse
-
#mcp_servers ⇒ Object
Returns the value of attribute mcp_servers.
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
#mcp_servers ⇒ Object
Returns the value of attribute mcp_servers.
1209 1210 1211 |
# File 'lib/claude_agent_sdk/types.rb', line 1209 def mcp_servers @mcp_servers end |
Class Method Details
.parse(data) ⇒ Object
Backwards-compatible parse; returns nil for nil input.
1220 1221 1222 |
# File 'lib/claude_agent_sdk/types.rb', line 1220 def self.parse(data) from_hash(data) end |