class

Autobot::Tools::SpawnTool

Inherits Autobot::Tools::Tool < Reference < Object

Tool to spawn a subagent for background task execution.

The subagent runs in a fiber and announces its result back to the main agent when complete.

Constructors

new(manager : Agent::SubagentManager)
Source

Instance methods

description
Source
execute(params : Hash(String, JSON::Any)) : ToolResult
Source
name
Source
parameters
Source
set_context(channel : String, chat_id : String) : Nil

Set the origin context for subagent announcements.

Source