Delete paths
delete_pathsUse this when the user explicitly asks to remove two or more named files or directories in one batch. For one target use delete_path; use move_to_trash when reversibility matters.
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": {
"paths": "<paths>",
"device": "<device>"
},
"name": "delete_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Absolute paths to delete, at most 500 per call. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| recursive | No | Delete non-empty directories with their contents. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |