Skip to content

Tools Reference

ZeptoClaw ships with 32 built-in tools. Most tools are available by default; grep and find are opt-in coding tools (see below).

Execute shell commands with optional container isolation.

ParameterTypeRequiredDescription
commandstringYesThe shell command to execute

Security: Commands are checked against a regex blocklist (dangerous patterns like rm -rf /, curl | sh, etc.) and can be isolated in Docker or Apple Container.

Read file contents from the workspace.

ParameterTypeRequiredDescription
pathstringYesRelative path within workspace

Write or create files in the workspace.

ParameterTypeRequiredDescription
pathstringYesRelative path within workspace
contentstringYesFile contents to write

List directory contents.

ParameterTypeRequiredDescription
pathstringNoDirectory path (default: workspace root)

Edit an existing file. Supports two modes — string replacement and unified diff.

String replacement mode:

ParameterTypeRequiredDescription
pathstringYesRelative path within workspace
old_textstringYesExact text to find and replace
new_textstringYesReplacement text

Unified diff mode (pass diff instead of old_text/new_text):

ParameterTypeRequiredDescription
pathstringYesRelative path within workspace
diffstringYesUnified diff string (@@ -old +new @@ format)

The two modes are mutually exclusive. Diff mode is useful for LLMs that emit standard diff output.

Search file contents by regex pattern. Opt-in coding tool — requires --template coder or tools.coding_tools: true.

ParameterTypeRequiredDescription
patternstringYesRegex pattern to search for
pathstringNoDirectory or file to search (default: workspace root)
globstringNoGlob filter for file types (e.g. *.rs)
ignore_casebooleanNoCase-insensitive search (default: false)
limitintegerNoMax matches to return (default: 100)

Security: Path argument is validated against the workspace boundary.

Find files by glob pattern. Opt-in coding tool — requires --template coder or tools.coding_tools: true.

ParameterTypeRequiredDescription
patternstringYesGlob pattern (e.g. **/*.rs, src/**/test_*)
pathstringNoRoot directory to search from (default: workspace root)
limitintegerNoMax results to return (default: 200)

Security: Path argument is validated against the workspace boundary.

Search the web using the Brave Search API.

ParameterTypeRequiredDescription
querystringYesSearch query

Security: SSRF protection blocks requests to private IP ranges, IPv6 loopback, and non-HTTP schemes. DNS pinning prevents rebinding attacks.

Fetch and parse a web page.

ParameterTypeRequiredDescription
urlstringYesURL to fetch

Returns cleaned text content (HTML stripped). Response body limited to prevent token waste.

Search workspace memory (markdown files).

ParameterTypeRequiredDescription
querystringYesSearch query

Searches markdown files in the workspace, scoring by keyword relevance with chunked results.

Persistent key-value store with categories and tags.

ParameterTypeRequiredDescription
actionstringYesOne of: set, get, search, delete, list, categories
keystringVariesMemory key
valuestringVariesValue to store
categorystringNoCategory for organization
tagsarrayNoTags for filtering

Stored at ~/.zeptoclaw/memory/longterm.json. Persists across sessions with access tracking.

Send proactive messages to channels.

ParameterTypeRequiredDescription
contentstringYesMessage text
channelstringNoTarget channel (telegram, slack, discord, webhook)
chat_idstringNoTarget chat ID

Falls back to the current context’s channel and chat_id if not specified.

Schedule recurring tasks.

ParameterTypeRequiredDescription
actionstringYesOne of: add, list, remove
namestringVariesJob name
schedulestringVariesCron expression
messagestringVariesMessage to process

Delegate a background task.

ParameterTypeRequiredDescription
messagestringYesTask description
labelstringNoTask label

Create a sub-agent (agent swarm).

ParameterTypeRequiredDescription
rolestringYesSub-agent role/system prompt
messagestringYesMessage to send
toolsarrayNoTool whitelist for sub-agent

The delegate tool creates a temporary agent loop with a role-specific system prompt. Recursion is blocked to prevent infinite delegation chains.

Send WhatsApp messages via Cloud API.

ParameterTypeRequiredDescription
tostringYesRecipient phone number
messagestringYesMessage text

Read and write Google Sheets.

ParameterTypeRequiredDescription
actionstringYesOne of: read, write, append
spreadsheet_idstringYesGoogle Sheet ID
rangestringYesCell range (e.g., “A1:B10”)
valuesarrayVariesData to write

Content rating and analysis tool.

ParameterTypeRequiredDescription
contentstringYesContent to analyze

Persistent reminders with cron-based delivery.

ParameterTypeRequiredDescription
actionstringYesOne of: add, list, complete, snooze, overdue
titlestringVariesReminder title
duestringVariesDue date/time

Git operations as an agent tool.

ParameterTypeRequiredDescription
actionstringYesOne of: status, diff, log, commit
messagestringVariesCommit message (for commit action)

Project scaffolding and management.

ParameterTypeRequiredDescription
actionstringYesProject operation to perform

Stripe API integration for payment operations.

ParameterTypeRequiredDescription
actionstringYesStripe API action
paramsobjectVariesAction-specific parameters

General-purpose HTTP client for arbitrary API calls.

ParameterTypeRequiredDescription
methodstringYesHTTP method (GET, POST, PUT, DELETE, etc.)
urlstringYesRequest URL
headersobjectNoRequest headers
bodystringNoRequest body

Extract text from PDF files. Requires --features tool-pdf.

ParameterTypeRequiredDescription
pathstringYesPath to PDF file

Audio transcription with provider abstraction.

ParameterTypeRequiredDescription
pathstringYesPath to audio file
providerstringNoTranscription provider

Capture webpage screenshots. Requires --features screenshot.

ParameterTypeRequiredDescription
urlstringYesURL to screenshot

Search the skill registry for available skills.

ParameterTypeRequiredDescription
querystringYesSearch query

Install a skill from the registry.

ParameterTypeRequiredDescription
namestringYesSkill name to install

Control an Android device via ADB. Requires --features android.

ParameterTypeRequiredDescription
actionstringYesOne of: screen, tap, type, swipe, scroll, back, home, screenshot, launch, open_url, etc.
VariousVariousVariesAction-specific parameters (x, y, text, package, url, etc.)

Security: URL scheme allowlist (blocks javascript:, file:, intent:), shell metacharacter blocking, busybox/toybox wrapper detection.

GPIO, serial, and USB peripheral operations. Requires --features hardware.

ParameterTypeRequiredDescription
actionstringYesHardware operation to perform
devicestringVariesDevice identifier