omv_wait_for_task
Retrieve the output of a background task running on the NAS. Wait for the task to complete by polling with the filename from omv_call, then obtain the result.
Instructions
Collect the output of a background task started by omv_call.
When omv_call returns something like {"filename": "..."}, the job is running asynchronously on the NAS. This tool polls until it finishes.
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": {
"filename": "<filename>"
},
"name": "omv_wait_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | The filename value from the omv_call result. | |
| max_seconds | No | How long to wait before giving up. |