poll_until_complete
Polls a PPDM activity until it reaches a terminal state (SUCCEEDED, FAILED, or CANCELED) and returns the final activity record. Use after trigger_backup to await backup completion.
Instructions
Poll a PPDM activity until it reaches a terminal state (SUCCEEDED, FAILED, CANCELED). Returns the final activity record. Use after trigger_backup to await completion.
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": {
"activity_id": "<activity_id>"
},
"name": "poll_until_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | PPDM activity ID to poll | |
| timeout_mins | No | Max wait time in minutes (default 60) | |
| interval_secs | No | Poll interval in seconds (default 15) |