Reference
Tools
The tools LoopCode's agent works with — files, search, shell, git, web, browser, Office documents, code intelligence, subagents, tasks and memory. Use these names in permission rules and hooks.
These are the names the agent and your permission rules and hook matchers use. Tools from MCP servers are added as mcp__<server>__<tool>.
#Files
| Tool | Does |
|---|
Read | Read a file, or a line range: text, or the text of a PDF, Word, PowerPoint, Excel or OpenDocument file |
Write | Create or replace a file. An existing file must be read first in the session |
Edit | Replace one unique block of text with new text |
MultiEdit | Several replacements in one file, as one reviewed diff |
ApplyPatch | Add, update, move or delete several files in one call, all or nothing |
ListFiles | List files recursively, skipping dependency, version-control and sensitive folders |
Glob | Find files by a pattern such as **/*.ts |
Grep | Search files with a regular expression (ripgrep when available) |
ViewImage | Look at an image in the project: a screenshot, a diagram, a design mock |
#Commands
| Tool | Does |
|---|
Bash | Run a shell command in the project, in the sandbox when it is on |
Terminal | Run a command in a pseudo-terminal; long-lived ones (dev servers, watchers) keep running |
Terminals | List the running terminals, or read one's output |
Monitor | Watch something in the background and react as it changes: a log, CI, a deploy |
TaskOutput | Read the output of a background task |
TaskStop | Stop a background task |
#Git
| Tool | Does |
|---|
Git | Read git state: status, diffs, logs, branches |
GitWrite | Add, commit, restore, stash or check out. Always asks, except when permissions are skipped. Never pushes or changes remotes |
#Code intelligence
| Tool | Does |
|---|
Lsp | Definition, references, callers and callees, implementations, hover, outline, workspace symbols and diagnostics |
LspRename | Rename a symbol everywhere it is used, as one reviewed diff |
#Web and browser
| Tool | Does |
|---|
WebSearch | Search the public web for docs and references |
WebFetch | Fetch a public URL as text. Private, loopback and metadata addresses are refused |
Browser | Drive the browser: open pages, click, type, scroll, take screenshots |
BrowserRead | Read what is on the page |
BrowserScript | Run a script in the page |
#Office documents
| Tool | Does |
|---|
OfficeScript | Run a builder script that writes Word, PowerPoint or Excel files, and check what it wrote |
LoopCode also checks existing documents, lists the available styles, and looks at pages as images. See Word, PowerPoint and Excel.
#Subagents
| Tool | Does |
|---|
Explore | A read-only subagent that answers a question about the code |
Agent | A subagent that makes a bounded change and runs the checks that cover it (optionally in its own worktree) |
Verify | A subagent that runs tests, builds, typechecks and the app, and reports |
SendInput | Send a follow-up to a subagent, keeping what it has done |
WaitAgent | Wait for subagents and get their reports |
CloseAgent | Close a subagent no longer needed |
Your custom subagents appear as tools too.
#Planning, questions and proof
| Tool | Does |
|---|
TodoWrite | Keep the task checklist you see during a turn |
SubmitPlan | Submit a plan for your approval (Plan mode) |
AskUser | Ask you a question, with options |
Prove | Cite evidence for each acceptance criterion before finishing. See Proof of done |
SubmitFindings | Submit the structured result of a review |
UpdateGoal | Mark the active goal complete, blocked or paused |
#Memory and context
| Tool | Does |
|---|
Remember | Save a lasting preference or correction to memory |
Recall, MemoryRead, MemorySearch, TaskHistory | Read memory, this conversation's notes, and earlier conversations in the project |
LogWrite | Append a durable note to the conversation |
ContextStatus | How full the context window is |
NewContext | Start a fresh context window at a natural boundary |
RetrieveOutput | Read a tool result that was cleared from context |
Skill | Load a skill |
SearchTools | Load tools that are listed but not loaded yet (MCP tools load on demand) |
#Scheduling
| Tool | Does |
|---|
CronCreate | Schedule a prompt: a recurring job or a one-off reminder |
CronList | List the scheduled jobs |
CronDelete | Cancel a scheduled job |
ScheduleWakeup | For a self-paced /loop: end this turn and come back later |
#MCP
| Tool | Does |
|---|
ListMcpResources | List the resources connected MCP servers offer |
ReadMcpResource | Read one by its URI |
mcp__<server>__<tool> | A connected server's tools |