Skip to main content
Tools are the agent’s only way to read or change anything. Every tool is a typed function in the core API; the model sees its name, description and input schema, and the runtime decides — per run and per call — whether it may run.

How a tool is declared

Each tool is a method on a service class, marked with a decorator that declares everything the runtime needs to know about it: The core API checks every declaration when it starts: a duplicate name, an MCP tool that is not read-only, or a malformed schema stops the boot. A test pins the full list, the order the model sees the tools in, each tool’s permission keys and the MCP surface, so a change to any of them is deliberate. Renamed tools keep their old names as aliases, so saved settings and custom agent definitions that refer to them keep working.

The built-in tools

Read the workspace

Act (Agent mode)

Runtime tools

These manage the run itself rather than workspace data, and need no permission beyond chatting:
  • Plan — formulate_plan, transition_step, append_step, scrap_plan. See Plans and subagents.
  • Subagents — dispatch_subagent, get_subagent_result, wait_for_subagents, continue_subagent, cancel_subagent, plus the shared notebook add_workflow_note and, inside a subagent, submit_result.
  • Memory — stm_write, stm_read, stm_list, and ltm_write, ltm_read, ltm_delete when long-term memory is on. See Context and memory.
  • Skills — load_skill.
  • Files — save_file writes to the member’s files, save_template writes a Nuclei template to the workspace’s custom templates. Both re-check the member’s write permission.

Tools by mode

Ask mode offers the read tools, memory, skills and files. Agent mode adds the action tools, plans and subagents. Tools of the workspace’s external MCP servers are offered to the main agent in both modes, and never to subagents. A member can additionally switch individual tools off in their settings; a disabled tool is removed from the set before the run starts.

The permission check

Before anything else, every built-in tool call checks the permission keys of the member the run acts for, read at call time — a permission removed mid-conversation applies to the next call. The rule is the same as for HTTP routes: the wildcard *, the exact key, or x.write for x.read. A missing key returns Not executed: … to the model as the tool result, which it reports to the user. Tools that read the same data as a console route use that route’s permission key, so the agent can never see more than the member could in the console. A conversation locked to a project additionally locks every project-aware tool to that project, whatever project id the model passes. The guard and the approval gate come after this check. See Guard and approvals.

Fetching the web

retrieve_web_page lets the agent read CVE records, advisories and research pages. It reaches outside the platform, so it is not a read-only tool and follows the approval mode. Because the core API sits inside the operator’s network, the fetch is also treated as an SSRF risk:
  • the host is resolved and every address must be public — private, loopback, link-local, carrier-grade NAT and unique-local ranges are refused;
  • redirects are followed manually, up to five, and each hop is checked again, so a public URL cannot bounce the request into the internal network;
  • at most 1 MB is read, 16 KB of text is returned, and the whole fetch gives up after 15 seconds.

External MCP tools

Tools from MCP servers connected to the workspace are added to the run’s set as <server>_<tool>. A built-in tool wins any name clash. External tools are not covered by the member permission check — they act with whatever credentials the server holds — so they go through the guard and approval gate, including the built-in deny list. An external tool counts as read-only, and skips the approval prompt, only when its server marks it read-only and does not mark it as reaching the outside world. See MCP.

Guard and approvals

What happens to a call after the permission check

Execution on workers

Shell commands, connectors and browser sessions

Connectors and MCP

The tools the agent can use, from the user’s side