Preview file operation
files_preview_opPreview a single delete/move operation without changing files; verify the source exists and check its size before running the operation. Use in loops to validate multiple files at once.
Instructions
Preview of a SINGLE delete/move operation — changes nothing on disk, just checks whether the file exists and how big it is. Use with for_each to check many files at once before execute_op.
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>"
},
"name": "files_preview_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | No | ||
| src | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||