-
Notifications
You must be signed in to change notification settings - Fork 3
Tools and Workflows
| Category | Representative tools | Purpose |
|---|---|---|
| File reading |
read_file, list_files, find_files
|
Read text or multimodal files, browse directories, and find paths |
| File editing |
write_file, apply_diff, insert_code, delete_code, delete_file
|
Create, rewrite, patch, or remove files |
| Search | search_in_files |
Text search, regular expressions, and replacement |
| Terminal | execute_command |
Commands, builds, tests, and development tasks |
| Language services |
get_symbols, goto_definition, find_references
|
VS Code symbols, definitions, and references |
| Document workflows | Design, Plan, Progress, and Review tools | Create and maintain structured engineering artifacts |
| Task management |
todo_update and related tools |
Track steps and state for the current task |
| History and knowledge |
history_search, read_skill
|
Search conversation history and load Skills on demand |
| Media | Image generation, crop, resize, rotate, background removal | Generate and process image assets |
| Memory |
memory_wake, memory_note, memory_recall, and others |
Restore, record, search, and maintain persistent memory |
Tool names in Settings are localized, while model calls use stable English identifiers. GrayCode corrects some common argument type errors automatically and strips unknown fields with a warning.
Use Settings → Auto Execute to decide which tools run immediately and which require confirmation. Keep confirmation enabled for high-risk operations such as file deletion, arbitrary commands, and access outside the workspace.
File writes normally show a diff first. A new file may be briefly pre-created as an empty file so the diff can render. Rejecting or cancelling removes that file and any still-empty parent directories created for it; cleanup failures are reported explicitly.
Adjacent read-only tools can run in parallel to reduce cumulative lookup latency. Write tools use process-wide path locks so the main conversation and Sub-Agents cannot modify the same file or directory concurrently. On a lock conflict, work elsewhere and retry after the current writer finishes.
Repeated calls with the same failing arguments are short-circuited so the model is prompted to try a different approach.
- Describe the symptom and reproduction conditions in Ask or Code mode.
- Search relevant symbols, logs, and call sites first.
- Ask for evidence, root cause, and impact.
- Approve the solution, then edit and run focused tests.
- Use Design to define goals, non-goals, constraints, interfaces, and risks.
- Use Plan to split the approved design into verifiable steps.
- Implement in Code mode while updating TODO and Progress.
- Use Review to inspect the complete diff, edge cases, and test coverage.
In Review or Ask mode, state “review only; do not modify files.” Request findings with severity, exact file and line, trigger conditions, and evidence. If no issues are found, ask for the reviewed scope and remaining risks.
File tools such as read_file and write_file have independent outside-workspace policies. If a path is denied, inspect the corresponding tool under Settings → Tools. Do not broaden access merely to bypass a safety boundary.