Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tools reference

Model-facing tools are advertised to the model per turn. Availability depends on settings, sandbox, plan mode, memory backend, and feature flags.

For sandbox and approvals see Sandbox. For MCP tools see MCP. Per-tool engineering specs live under docs/tools/.

Core loop

  1. Model emits a tool call (JSON arguments per schema).
  2. Veyyon validates arguments; handlers run after approval/sandbox checks.
  3. Text or structured output returns to the conversation.

General schema repair runs before dispatch on all schema-bearing tool calls; tool-specific leniency (e.g. hashline parsing) is layered on top. See Repair overview.

Edit and write (built)

ToolPurpose
editApply changes — default hashline input string (edit.mode)
writeCreate or overwrite a whole file
apply_patchV4A envelope when edit.mode: apply_patch

Hashline flow: read/grep mint [path#TAG] anchors → model copies tags into edit@veyyon/hashline applies ops. See Edit engine and docs/tools/edit.md.

Read and search (built)

ToolPurpose
readFiles, dirs, URLs, archives, SQLite, memory://, skill://, …
grepRipgrep-backed search; hashline headers in hashline display mode
globPath globbing
search_tool_bm25Discover tools by description (when enabled)

Shell and execution (built)

ToolPurpose
bashShell commands with sandbox + approval
sshRemote commands via configured hosts
evalJS/Python/Julia/Ruby eval cells (when enabled)
debugDebugger integration
browserBrowser automation
jobBackground job control

Agent coordination (built)

ToolPurpose
taskSpawn subagents
ircInter-agent messaging
todoStructured task lists
goalGoal card updates (with goal mode)
askUser questions
yieldYield turn for follow-ups

Memory (when backend enabled)

ToolPurpose
memory_recall, memory_retain, memory_reflect, memory_editMnemopi/hindsight surfaces
learnAutolearn (when autolearn.enabled)

Other builtins

Includes web_search, github, lsp, ast_edit, ast_grep, checkpoint, rewind, resolve, manage_skill, launch, inspect_image, generate_image, tts, report_finding, and MCP tools (mcp__*). Extension hooks may register more.