Get Budget Remaining
paybond_get_budget_remainingRetrieve the remaining spend budget for a tenant-bound intent as a dry-run before authorizing a paid tool. Preview budget availability without committing any spend.
Instructions
Use this when you need a read-only dry-run of remaining spend budget for a tenant-bound intent before authorizing a paid tool. Do not use this to authorize spend or create decisions; call paybond_authorize_agent_spend when you are ready to gate a side-effecting tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| currency | No | ||
| intent_id | Yes | ||
| operation | No | ||
| tool_name | No | ||
| vendor_id | No | ||
| workflow_id | No | ||
| tool_call_id | No | ||
| agent_subject | No | ||
| approval_token | No | ||
| requested_spend_cents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spend_scope | No | Spend scope used for the budget evaluation (scope_type and scope_key). | |
| policy_version | No | Active spend-control policy version when a policy is configured. | |
| remaining_cents | No | Remaining spend budget in cents for the evaluated scope, when available. |