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.
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 |