Method: ActionMCP::ToolResponse#inspect
- Defined in:
- lib/action_mcp/tool_response.rb
#inspect ⇒ Object
Pretty print for better debugging
70 71 72 73 74 75 |
# File 'lib/action_mcp/tool_response.rb', line 70 def inspect parts = [ "content: #{contents.inspect}" ] parts << "structuredContent: #{structured_content.inspect}" if structured_content parts << "isError: #{is_error}" "#<#{self.class.name} #{parts.join(', ')}>" end |