Tools

View as Markdown

Tools let an agent act: call your APIs, validate what it collected, and run built-in behaviours. The model decides when to call a tool via function calling; the harness validates and executes it.

Global vs state-level tools

  • Global tools are available across all states, for capabilities needed anywhere (for example, look up a customer by phone).
  • State-level tools are scoped to specific states, to gate sensitive actions (for example, only allow a payment tool after verification). See Multi-state agents.

Controlling context sent to the LLM

Each tool has a toggle that controls whether it’s sent to the LLM. It’s on by default, so the agent sees the tool and can call it. Turn it off to not send it in the context anymore.