Skip to main content
Revoke a child agent and optionally request a sweep to its parent treasury. Revocation is terminal; spawn a new agent via agent.budget.create to re-provision. auto_sweep defaults to true and is passed to the configured revocation saga. Check sweep_plan_queued and the resulting transfer status; a queued plan does not establish that the funds reached the parent.

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