Tools Agent
An agent with filesystem and shell tools for codebase analysis, log searching, or automated refactoring.Workflow Definition
Running
Built-in Tools
| Tool | Description |
|---|---|
read | Read file contents by path. Supports line ranges. |
write | Write content to a file. Creates if absent. |
edit | Apply a unified diff patch to a file. Input: { path, patch } where patch is a valid unified diff string. |
grep | Regex search over file contents. Returns files, lines, context. |
bash | Execute shell commands. Runs in the workflow’s working directory. No sandboxing by default, so combine with continueOnFail and timeoutMs. |
Robustness Props
| Prop | Value | Purpose |
|---|---|---|
timeoutMs | 60_000 | Kill runaway tool loops after 60s. |
retries | 2 | Retry on failure (e.g., grep typo on first pass). |