Preflight Budget Check
cycles_decideQuery whether an action is allowed under budget without reserving funds. Use this preflight check at workflow start to decide on strategy before committing resources.
Instructions
Lightweight preflight check — ask whether an action would be allowed without reserving budget. Does not create a reservation. Use at workflow start to decide strategy. For concurrency-safe budget locking, use cycles_reserve instead.
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": {
"idempotencyKey": "<idempotencyKey>",
"action": "<action>",
"estimate": "<estimate>"
},
"name": "cycles_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| subject | No | ||
| estimate | Yes | ||
| metadata | No | ||
| idempotencyKey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caps | No | ||
| decision | Yes | ||
| reasonCode | No | ||
| retryAfterMs | No | ||
| affectedScopes | No |