file_task
Track or stop a file operation (delete, copy, move, restore) already handed off to the NAS: check progress with a handle, or list your running operations when no handle is available.
Instructions
Follow up on a delete, copy, move or restore handed off to the NAS. Those tools hand off long operations and return a handle such as delete:FileStation_…, because the NAS keeps working after the reply. With a handle: action="status" shows progress, or the final result if DSM still has it; action="stop" stops it, and the operation may then be partly done; a stop DSM is slow to confirm shows on later status calls. Without a handle: lists this user's running operations, which is useful in a new chat or after a restart. Handles only work for the same NAS user. Don't poll in a loop: check when the user asks, or before doing something that depends on the result.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "file_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | `status` (default) or `stop`. | status |
| handle | No | The handle from a delete/copy/move/restore reply. Omit it to list running operations. |