Execute file operation
files_execute_opExecute one file delete/move operation when confirm='EXECUTE' is provided. Logs every action, and works with for_each to run many operations under a single confirmation.
Instructions
Executes a SINGLE delete/move operation. Requires confirm='EXECUTE' — without it, nothing happens. Logs every operation to log_path. Use with for_each (confirm and log_path shared in args across all items) to run on many files in one pipeline step — a single 'EXECUTE' in the step still gates the whole series, just like it used to gate the whole batch.
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": {
"action": "<action>",
"src": "<src>",
"confirm": "<confirm>",
"log_path": "<log_path>"
},
"name": "files_execute_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | No | ||
| src | Yes | ||
| action | Yes | ||
| confirm | Yes | ||
| log_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||