struct

Smith::MCP::ToolResult

Inherits Struct < Value < Object

What tools/call came back with, already flattened to text.

Constructors

from_result(result : JSON::Any | Nil) : ToolResult
Source
new(text : String, error : Bool = false)
Source

Instance methods

error?
Source
text
Source