Class: ClaudeAgentSDK::ServerToolResultBlock
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Result of a server-side tool execution. Mirrors Python’s ‘ServerToolResultBlock`.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#is_error ⇒ Object
Returns the value of attribute is_error.
-
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
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
#content ⇒ Object
Returns the value of attribute content.
193 194 195 |
# File 'lib/claude_agent_sdk/types.rb', line 193 def content @content end |
#is_error ⇒ Object
Returns the value of attribute is_error.
193 194 195 |
# File 'lib/claude_agent_sdk/types.rb', line 193 def is_error @is_error end |
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
193 194 195 |
# File 'lib/claude_agent_sdk/types.rb', line 193 def tool_use_id @tool_use_id end |