Skip to content

Tools

Agentrail provides a set of built-in tools through @agentrail/capabilities. Tools are registered on a profile and exposed to the agent at runtime.

Tool categories

Filesystem

ToolDescription
BashExecute shell commands
ReadRead files from the local filesystem
WriteWrite files to the local filesystem
EditExact string replacement in existing files
GrepRegex search powered by ripgrep
GlobFind files by glob pattern

Web

ToolDescription
WebFetchFetch a URL and return readable Markdown
WebSearchSearch the web via a provider adapter

Interaction

ToolDescription
AskUserQuestionPause execution and ask the user a question
TodoWriteMaintain a structured task list for the session
SleepPause execution for a bounded duration

Sandbox-only

These tools are available only when the agent runs inside a Docker sandbox container (see @agentrail/capabilities sandboxed capability set).

ToolDescription
PythonExecute Python code inside the sandbox
BrowserNavigateNavigate the in-sandbox Chromium browser to a URL
BrowserContentRead the current browser page's visible text
BrowserScrollScroll the current browser page or an element
BrowserActionClick, fill, select, hover, press, or evaluate JavaScript

Orchestration

Orchestration tools are available when the multi-agent orchestration capability is enabled.

ToolDescription
spawn_agentSpawn a session-scoped orchestration sub-agent
close_agentClose a sub-agent and resolve dependent waits
send_inputQueue structured input for a sub-agent
wait_agentWait for one or more agents to satisfy a condition

Additional capability tools

The following tools are provided by optional capability packages and documented inline:

  • KbList / KbRead / KbSearch — knowledge base tools from the knowledge capability
  • Skill — skill delegation tool from the skills capability

Permissions

Several tools (Bash, Read, Write, Edit, and their sandbox counterparts) support a checkPermissions hook that evaluates the active ToolPermissionPolicy before execution. See the Tool Permissions Guide for details.

Released under the Apache 2.0 License.