v1.6.1

Built-in Tools

Last updated


How many tools Agenvoy registers, how their schemas reach the model, and which tool prefixes resolve at call time.
35 tools always register on every OS, public_api_list among them (a built-in since v1.3.2, formerly the API tool api_public_api_list); six more appear only when their prerequisite exists (generate_audio, generate_image, list_chatbot, send_to_chatbot, background_command and background_subagents) — 41 built-in tools in total (the hook tools read_hook, write_hook and test_hook were added in v1.4.0, validate_skill in v1.5.2, validate_tool in v1.6.0; v1.5.0 folded remove_file into write_file). run_command_background was renamed background_command (Removed in v1.3.2). pkg_manage was Removed in v1.3.2; use run_command with argv ['sudo', ...] or sandbox: false instead. run_websocket was Removed in v1.3.2, with no replacement tool. find_note was removed in v1.0.23 together with operator notes; standing instructions for a session belong in its role (/role). Tools that cover several related actions take a mode argument rather than splitting into separate names — write_file handles whole-file writes and regional patches (its predecessor edit_file was Removed in v1.3.20), find_files replaces list_files / glob_files / search_files, and so on. Deleting and restoring a file are separate tools: edit_file(mode=remove) and edit_file(mode=restore) were Removed in v1.3.11, replaced by remove_file and restore_file; error_history(mode=write) was Removed in v1.3.11, replaced by write_error. remove_file was Removed in v1.5.0; use write_file(mode=remove), which moves the file aside the same way. edit_skill and edit_tool were renamed write_skill and write_tool (Removed in v1.5.0).
Since v1.2.0 a run no longer sends every schema up front. For every provider except claude-code (and agy since v1.6.0), the tools array holds only find_tools, run_tool, reasoning_guide, write_todo, chat_history, ask_user and write_result (plus any client tools; reasoning_guide joined the fixed set in v1.2.1, write_todo in v1.2.3, the last three in v1.3.5); every other tool — built-in, script_*, ext_*, mcp__* — is listed by name in the per-turn context (Tools (call through run_tool; ...): ...; since v1.3.7 MCP tools are grouped by server as mcp__<server>__{a, b}). The model fetches a schema with find_tools(names=["NAME", ...]), which returns it as tool output, then calls the tool as run_tool(name, args); the runtime unpacks that into the inner tool, so confirmation, boundary checks and argument validation still apply by the real name. A direct call to a listed tool is refused with a pointer to run_tool, a run_tool call made before the schema was fetched returns the schema and asks for a re-call, and a name that is not registered never runs. Keeping the tools array fixed keeps the provider prompt cache hitting. The AlwaysLoad flag was removed; use find_tools to load a schema (Removed in v1.2.0). The claude-code provider (available whenever the local claude binary is found), and since v1.6.0 agy (whenever agy is found), gets every tool except run_tool and calls them by name, but receives only the names: a call made before find_tools fetched that tool's schema is not run and returns the schema instead.

Dynamic tool groups


Beyond the built-in registry, three prefixes resolve at call time:
PrefixSource
script_*Generated script tools under ~/.config/agenvoy/tools/script/ — script.py (or script.js) executed in the sandbox. The bundled tools/.system/ and the project-local <cwd>/.config/agenvoy/tools/script/ were Removed in v1.5.0; keep tools in ~/.config/agenvoy/tools/script/
ext_*Extension tools, script backed, from ~/.config/agenvoy/tools/.extension/script/
mcp__*Tools exposed by connected MCP servers

User-defined API tools (api_*) were Removed in v1.3.2: their JSON files are no longer loaded and each leftover file is skipped with an [Invalid] api tool warning in the log; call an endpoint with http_request, or build a script tool.
RAG reaches the agent this way rather than as a built-in: KuraDB is registered as an ordinary MCP server, so its list_rag / search_rag tools arrive under the mcp__ prefix and disappear entirely when it is unregistered or disconnected.