Skip to main content
Revoke a child agent and optionally auto-sweep its sub-vault back to the parent treasury. Revocation is terminal; spawn a new agent via agent.budget.create to re-provision.

Metadata

Annotations

Input schema

Output schema

Auth

Caller’s grant must include the agent:budget:revoke scope. Grants whose scope set is a superset of the required scope are accepted.

Request examples

Response examples

Success — agent revoked and sweep queued:
Agent already revoked (idempotent re-call):

Errors