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.



1590
1591
1592
# File 'lib/claude_agent_sdk/types.rb', line 1590

def description
  @description
end

#mime_typeObject

Returns the value of attribute mime_type.



1590
1591
1592
# File 'lib/claude_agent_sdk/types.rb', line 1590

def mime_type
  @mime_type
end

#nameObject

Returns the value of attribute name.



1590
1591
1592
# File 'lib/claude_agent_sdk/types.rb', line 1590

def name
  @name
end

#readerObject

Returns the value of attribute reader.



1590
1591
1592
# File 'lib/claude_agent_sdk/types.rb', line 1590

def reader
  @reader
end

#uriObject

Returns the value of attribute uri.



1590
1591
1592
# File 'lib/claude_agent_sdk/types.rb', line 1590

def uri
  @uri
end