queue_task
Keep a call for one of the user's computers that is offline or asleep, and run it when that computer connects to BCD again; BCD then keeps the result and tells the user. Use it only after a call came back DEVICE_UNAVAILABLE and the user wants it done once the computer is back. Pass the tool and the same arguments. It runs with the permissions, plan limit and checks that apply when it runs, and is refused then if they no longer allow it. Arguments wait on BCD's server: never put secrets in them. Waits up to expiresInDays (default 7, at most 30). The outcome: check_operation with operationId set to the taskId; check_operation with no operationId lists queued tasks. action cancel with taskId stops one that has not run.
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": "queue_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | The tool to run when the computer is back | |
| label | No | A few words on what it does, shown to the user | |
| action | No | add (default) or cancel | |
| notify | No | When to email the account: failures (default), always or never | |
| taskId | No | For cancel | |
| deviceId | No | Computer name or id | |
| agentName | No | Your agent name, to get the outcome in check_inbox | |
| arguments | No | That tool's arguments, as you sent them | |
| expiresInDays | No |