Skip to main content

Available tools

1 minProducts

The agent has nine tools it can invoke during a task.

TABLE
ToolWhat it does
read_fileRead the contents of a file at a given path
write_fileWrite content to a file, creating it if it does not exist
list_dirList the files and directories at a path
bashExecute a shell command and capture stdout/stderr
grepSearch file contents for a pattern
search_filesFind files by name pattern across a directory tree
create_dirCreate a directory and any required parent directories
delete_fileDelete a file at a given path
patchApply a unified diff to a file

Tool calls are driven by the model's text output: the agent parses structured blocks from the model response to determine which tool to call. This is text-based dispatch, not native function calling.