Class: ClaudeAgentSDK::SdkMcpResource

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

Overview

SDK MCP Resource 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

#descriptionObject

Returns the value of attribute description.



1549
1550
1551
# File 'lib/claude_agent_sdk/types.rb', line 1549

def description
  @description
end

#mime_typeObject

Returns the value of attribute mime_type.



1549
1550
1551
# File 'lib/claude_agent_sdk/types.rb', line 1549

def mime_type
  @mime_type
end

#nameObject

Returns the value of attribute name.



1549
1550
1551
# File 'lib/claude_agent_sdk/types.rb', line 1549

def name
  @name
end

#readerObject

Returns the value of attribute reader.



1549
1550
1551
# File 'lib/claude_agent_sdk/types.rb', line 1549

def reader
  @reader
end

#uriObject

Returns the value of attribute uri.



1549
1550
1551
# File 'lib/claude_agent_sdk/types.rb', line 1549

def uri
  @uri
end