budget_exhausted
The grant use budget is spent. The grant reached its lifetime use limit (max_uses).
Refused by policy MCP sends it with isError: true.
What it means
The grant reached its lifetime use limit (max_uses). No further uses are permitted under this grant.
What the agent should do
Call request_access for the credential and the intent. A person must approve it. If they say no, do not ask again: stop and tell them what you cannot do.
For an intent that request_access cannot ask for (cli_login, sign_in, fill_totp and the rest): Asking for this from the agent is not built yet. Stop and tell the person, who can grant it with bpw grant add.
What the person should do
Approve a new request or add a fresh grant with --max-uses via bpw grant add.
Which intents return it
No intent returns it in this build.
How it looks
{
"structuredContent": {
"outcome": "budget_exhausted"
},
"isError": true
}
Intent-specific fields come alongside it when the intent has them.
Related outcomes
grant_expired: The grant has endedscope_denied: Outside what any grant allowsnot_rotated: The rotation ended without a changedisclosure_not_granted: The grant allows only sealed deliveryminting_blocked: The endpoint creates a credentialrate_limited: The grant rate limit is spent- All outcomes and Typed outcomes and errors