struct

Crig::AgentToolAdapter

Inherits Crig::ToolDyn < Struct < Value < Object

Constructors

new(name : String, desc : String, params : JSON::Any, &callable : String -> String)
Source
new(agent : Agent(M)) : self forall M

Legacy alias for Agent#into_tool — kept for backward compatibility.

Source

Instance methods

call(args : String) : String
Source
description
Source
name
Source
parameters
Source