ToolInvoke

Execute external tool and observe result

Infrastructure · Primitives · bootstrap 0.11.0

Mechanism

The actor emits a structured tool call (function name + arguments), validated by InputGuard, execution is delegated to an external runtime, and the observation (result or error) is fed back into the actor's Context. This is the atomic unit of agent-environment interaction. The pattern enables capabilities beyond text generation: code execution, API calls, file operations, web search.

Invariants

Failure modes

Caution

Tool results are untrusted input — text inside an observation can carry instructions that steer the agent; treat it as data, never as commands.

Where this came from

—

Builds on

Used by

Related

Identity