Remove file
code_removeRemove a file, or with recursive a folder and everything in it. code_restore brings it back.
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": {
"path": "<path>",
"org": "<org>"
},
"name": "code_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | slug of the organization whose trees and sites to use. Required on every call, even when only one organization is listed; a path never names it. | |
| path | Yes | The address of a file or folder. | |
| message | No | A brief note on the change. | |
| ifChange | No | Refuse unless the tree's latest change is still this one. | |
| recursive | No | Remove a folder and everything in it. | |
| ifRevision | No | The revisionId returned by code_read; refuse unless the file is still at it. |