Skip to content
Source on GitHub (opens in a new tab)

These are the tools the model can call in a zelk session, in the order it sees them. Read-only tools change nothing, so plan mode allows them and a batch of them runs at once. What each tool does is the first sentence of the description the model reads.

Some depend on how zelk runs:

  • CronCreate, CronList and CronDelete come with -scheduling (or the scheduling setting).
  • EnterWorktree and ExitWorktree are offered in a git repository.
  • On Windows the model also gets PowerShell, listed before Bash. Bash is there only when Git for Windows is installed and zelk runs commands outside the MXC sandbox, and -no-powershell takes PowerShell away. Without Git for Windows, PowerShell is the only shell. The process tools work with a background command from either.
  • MemorySave and its siblings go away with -no-memory.
  • ReportOutcome ends runs in print mode and zelk exec. In the terminal UI and zelk acp the model’s answer ends its turn, so it isn’t offered.
  • Grep runs ripgrep when rg is on your PATH and searches with Go’s own engine otherwise.
  • The browser tools come with -browser or -user-browser, after zelk browser setup, and your MCP servers’ tools join the list as they connect.
Tool Read-only Does
Read yes Reads a file in the workspace and returns its lines, numbered.
Edit Changes part of a file in the workspace by replacing exact text.
Write Writes a file in the workspace: creates it, or replaces all of its content.
Glob yes Finds files in the workspace whose paths match a glob pattern.
Grep yes Searches the contents of files in the workspace for a regular expression.
Bash Runs a bash command in the workspace and returns its output.
ProcessOutput yes Reads the new output of a background process: one Bash started with run_in_background, or a command that moved to the background at its timeout or left processes running.
ProcessList yes Lists this conversation’s background processes: each one’s handle, lifetime and state (running, completed, ended, unreachable or lost).
ProcessInput Writes text to the standard input of a background process that Bash started with run_in_background.
ProcessKill Stops a background process, whether Bash started it with run_in_background or it moved to the background, with everything in its process group, and reports how it ended: SIGTERM first, so it can clean up, then SIGKILL two seconds later if it is still running.
Watch Start a background command and get woken by each line it prints: a log to follow, a CI or deploy status poll, a file watcher, a price or queue feed.
WebFetch yes Fetches a web page and returns its readable content as markdown, or answers a question about it.
WebSearch yes Searches the web and returns result titles, URLs and snippets.
TodoWrite yes Replaces the session’s task list.
AskUserQuestion Asks the user structured questions and waits for their answers.
ReportOutcome Ends the run with your report of its outcome.
Skill yes Loads a skill: packaged instructions, and sometimes files and scripts, for a particular kind of task.
EnterWorktree Moves this session into a git worktree of its repository, at .zelk/worktrees/<name> on branch worktree-<name>, made from the current HEAD if it doesn’t exist yet.
ExitWorktree Moves this session out of the zelk worktree it works in, back to the repository’s main checkout.
Task Delegates a task to a subagent: a separate agent with its own context, which works on it and returns a report.
TaskOutput yes Reads a background subagent’s status and, once it has finished, its report.
TaskStop Stops a background subagent that Task started.
TaskContinue Continues a finished subagent with its full history: give its agent_id and a new prompt.
TaskList yes Lists this conversation’s subagents: each one’s agent_id, state and lifetime.
TaskMessage Sends instructions to a subagent of this conversation.
CronCreate Schedule a prompt to run in this conversation at the times a cron expression names, in the user’s local time zone: recurring, or once.
CronList yes List this conversation’s pending crons, with each one’s next time.
CronDelete Delete a pending cron of this conversation, so it fires no more.
MemorySave Save a note to memory, where it lasts across conversations, or correct one.
MemoryForget Remove a note from memory, so no later conversation sees it.
MemoryRead yes Read notes from memory in full, by name.
MemorySearch yes Search memory for notes that share words with the query, across this project’s notes and the user’s, and return the best matches in full.