Skip to main content
The V3Code agent has a large set of built-in tools. Reads run automatically; anything that changes files, runs commands, or drives the browser asks for approval first (see Modes → Approvals). This page is the reference for what actually ships.

Files & search (read-only)

ToolDoes
read_fileRead a file or line range, paginated, with a COMPLETE/TRUNCATED footer.
ls_dir · get_dir_treeList a directory / a shallow tree.
search_for_files · search_pathnames_only · search_in_fileFull-text, filename, and in-file search.
find_textWorkspace text search with optional surrounding context lines.
read_lint_errors · get_build_errorsLive language-server diagnostics for a file / the whole workspace.
read_skillRead an agent skill’s full SKILL.md by name.

Edits (approval: edits)

ToolDoes
create_file_or_folder · delete_file_or_folderCreate / delete files and folders.
rewrite_file · append_file · edit_fileReplace, append to, or search-replace within a file.
rename_symbolLSP rename across the workspace.
All edits pass through a shadow-workspace lint verify with rollback before hitting disk.

Terminal, tests & sandbox (approval: terminal)

ToolDoes
run_commandOne-shot command in a temp terminal (timeout 1–600s).
open_persistent_terminal · run_persistent_command · kill_persistent_terminalNamed background terminals. read_terminal_output reads them (no approval).
run_testsRun the workspace test runner.
run_sandboxRun a JS/TS snippet in an isolated node:vm.

Git

Reads (git_status, git_diff, git_log, git_branch, git_remote, git_show, git_blame) are automatic. Writes (git_stage, git_commit, git_push, git_pull, git_checkout, git_stash, git_merge, git_rebase, git_cherry_pick, git_restore, git_reset) ask for approval. Hard reset is blocked.

Context Bridge (structural intelligence)

get_file_context, get_file_dependencies, get_symbol_context, get_call_graph, pack_context, get_project_briefing — all read-only. See Context Bridge for details. Notes: remember / forget (approval) and list_notes / search_notes (read).

Search & recall

ToolDoes
semantic_searchMeaning-based code search over the local index.
symbol_lookup · impact_traceNative symbol tags and change-impact tracing (when the sidecar is present).
search_chat_memory · get_chat_session · get_chat_threadSearch and read recorded chat memory.
deep_recall · get_shadow_recordBreak-glass search of the raw shadow archive.
recent_edits · workspace_delta · session_diffWhat you or the agent changed recently.
index_healthSemantic-index status, with optional re-scan.

Web & browser

web_search and web_fetch are read-only. open_browser opens an in-editor browser pane. The full Playwright automation suite (open_browser_page, click_element, fill_form, run_playwright_code, reconstruct_page_sources, intercept_network, session save/restore, …) drives real pages — the navigating/mutating ones ask for approval; reads like read_page, screenshot_page, and get_browser_console_logs are automatic. See The browser.

Subagents, planning & image

ToolDoes
launch_subagentBackground, fire-and-forget subagent; result is injected back into the thread later.
run_subagentSynchronous delegation that blocks and returns a result.
update_planThe agent’s per-thread todo list (persists in .v3code/active-plan.json).
ask_userAsk you a multiple-choice question.
generate_imageGenerate an image (Grok / xAI) into the workspace (approval: edits).