Modules§
Structs§
- Tool
Call - A tool call requested by the model (sent gateway → client for display).
- ToolDef
- A tool that the agent can invoke.
- Tool
Param - JSON-Schema-like parameter definition.
- Tool
Result - The result of executing a tool (sent gateway → client for display, and also injected back into the conversation for the model).
Enums§
- Tool
Permission - Permission level for a tool, controlling whether the agent can invoke it.
Constants§
- THREAD_
UPDATE_ MARKER - Marker prefix for thread update commands in tool output.
- VAULT_
ACCESS_ DENIED - Standard denial message when a tool tries to touch the vault.
Statics§
- AGENTS_
LIST - AGENT_
SETUP - APPLY_
PATCH - APP_
INDEX - ASK_
USER - AUDIT_
SENSITIVE - BATTERY_
HEALTH - BROWSER
- BROWSER_
CACHE - CANVAS
- CLASSIFY_
FILES - CLIPBOARD
- CLOUD_
BROWSE - CRON
- DISK_
USAGE - EDIT_
FILE - EXECUTE_
COMMAND - EXO_
MANAGE - FIND_
FILES - FIREWALL
- GATEWAY
- IMAGE
- LIST_
DIRECTORY - MCP_
CONNECT - MCP_
DISCONNECT - MCP_
LIST - MEMORY_
GET - MEMORY_
SEARCH - MESSAGE
- MODEL_
DISABLE - MODEL_
ENABLE - MODEL_
LIST - MODEL_
RECOMMEND - MODEL_
SET - NET_
INFO - NET_
SCAN - NODES
- NPM_
MANAGE - OLLAMA_
MANAGE - PKG_
MANAGE - PROCESS
- READ_
FILE read_file— read the contents of a file on disk.- SAVE_
MEMORY - SCREENSHOT
- SEARCH_
FILES - SEARCH_
HISTORY - SECRETS_
GET - SECRETS_
LIST - SECRETS_
SET_ POLICY - SECRETS_
STORE - SECURE_
DELETE - SERVICE_
MANAGE - SESSIONS_
HISTORY - SESSIONS_
LIST - SESSIONS_
SEND - SESSIONS_
SPAWN - SESSION_
STATUS - SKILL_
CREATE - SKILL_
ENABLE - SKILL_
INFO - SKILL_
INSTALL - SKILL_
LINK_ SECRET - SKILL_
LIST - SKILL_
SEARCH - SUMMARIZE_
FILE - SYSTEM_
MONITOR - TASK_
BACKGROUND - TASK_
CANCEL - TASK_
DESCRIBE - TASK_
FOREGROUND - TASK_
INPUT - TASK_
LIST - TASK_
PAUSE - TASK_
RESUME - TASK_
STATUS - THREAD_
DESCRIBE - TTS
- USER_
MANAGE - UV_
MANAGE - WEB_
FETCH - WEB_
SEARCH - WRITE_
FILE
Functions§
- agent_
setup_ params - agents_
list_ params - all_
tool_ names - Return all tool names as a sorted list.
- all_
tools - Return all available tools.
- app_
index_ params - apply_
patch_ params - ask_
user_ params - audit_
sensitive_ params - battery_
health_ params - browser_
cache_ params - browser_
params - canvas_
params - classify_
files_ params - clipboard_
params - cloud_
browse_ params - command_
references_ credentials - Returns
truewhen a command string references the credentials directory. - cron_
params - disk_
usage_ params - edit_
file_ params - execute_
command_ params - execute_
tool - Find a tool by name and execute it with the given arguments.
- exo_
manage_ params - expand_
tilde - Expand a leading
~to the user’s home directory. - find_
files_ params - firewall_
params - gateway_
params - image_
params - init_
sandbox - Called once from the gateway to initialize the sandbox.
- is_
protected_ path - Returns
truewhenpathfalls inside the credentials directory. - is_
secrets_ tool - Returns
truefor tools that must be routed through the gateway (i.e. handled byexecute_secrets_tool) rather thanexecute_tool. - is_
skill_ tool - Returns
truefor skill-management tools that are routed through the gateway (i.e. handled byexecute_skill_tool) because they need access to the process-globalSkillManager. - is_
user_ prompt_ tool - Returns
truefor the interactive prompt tool that must be routed through the gateway → TUI → user → gateway → tool-result path. - list_
directory_ params - memory_
get_ params - memory_
search_ params - message_
params - net_
info_ params - net_
scan_ params - nodes_
params - npm_
manage_ params - ollama_
manage_ params - pdf_
params - pkg_
manage_ params - process_
manager - Get the global process manager instance.
- process_
params - read_
file_ params - run_
sandboxed_ command - Run a command through the sandbox (or unsandboxed if not initialized).
- sandbox
- Get the global sandbox instance, if initialized.
- sanitize_
tool_ output - Sanitize tool output: truncate if too large, warn if garbage detected.
- save_
memory_ params - screenshot_
params - search_
files_ params - search_
history_ params - secrets_
get_ params - secrets_
list_ params - secrets_
set_ policy_ params - secrets_
store_ params - secure_
delete_ params - service_
manage_ params - session_
status_ params - sessions_
history_ params - sessions_
list_ params - sessions_
send_ params - sessions_
spawn_ params - set_
credentials_ dir - Called once from the gateway to register the credentials path.
- set_
vault - Called once from the gateway to register the vault for tool access.
- skill_
create_ params - skill_
enable_ params - skill_
info_ params - skill_
install_ params - skill_
link_ secret_ params - skill_
list_ params - skill_
search_ params - summarize_
file_ params - system_
monitor_ params - thread_
describe_ params - tool_
summary - Short, user-facing summary of what each tool lets the agent do.
- tools_
anthropic - Anthropic tool-use format.
- tools_
google - Google Gemini function-declaration format.
- tools_
openai - OpenAI / OpenAI-compatible function-calling format.
- tts_
params - user_
manage_ params - uv_
manage_ params - vault
- Get the global vault instance, if initialized.
- web_
fetch_ params - web_
search_ params - write_
file_ params
Type Aliases§
- Shared
Vault - Shared vault type for thread-safe access (uses tokio::sync::Mutex for async).
- Sync
Execute Fn - Sync tool execution function type (legacy, for static definitions).