File operations
file_opsCopy, move, rename, delete files or folders and create directories without a shell; deletions and overwrites stay restorable from ZeroIDE history.
Instructions
Copy, move/rename or delete files and folders, or create a folder, without a shell. delete never destroys data: the files move to ZeroIDE history and the owner can restore them in Settings → Changes. Anything replaced with overwrite=true keeps its previous version too. Prefer this to Remove-Item/Move-Item in run_command: it is reversible and the owner sees exactly what changes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"op": "<op>",
"path": "<path>"
},
"name": "file_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| to | No | Destination for copy and move. | |
| note | No | Short human-readable explanation (1 line, in the user's language) of what you are about to do and why. Shown to the user on the approval card. Always provide when calling mutating tools. | |
| path | Yes | Source (copy/move/delete) or the folder to create (mkdir). Absolute or relative to the project dir. | |
| agent | No | Short consistent identifier or display name of this agent (e.g. 'Claude · Лендинг', 'Тесты', 'Мой агент'). Used to separate tasks and route tray messages when multiple agents work in parallel. | |
| overwrite | No | copy/move: replace an existing destination file; its previous version is kept in history. Default false. | |
| recursive | No | Required to copy or delete a folder with its contents. |