> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useagentbank.com/llms.txt
> Use this file to discover all available pages before exploring further.

# revoke_agent

> Revoke the current connected agent and clear its local credentials.

**Authentication:** Valid credential with `agent:revoke`\
**Surface:** Local stdio only

**Mutates state:** Yes\
**Confirmation:** `confirm=true`

```json theme={null}
{ "confirm": true }
```

The connected agent can revoke only itself. Core invalidates the installation,
sessions, and bound wallet authorization. The MCP removes the local
installation key, session, active marker, Privy device state, and Privy tokens.

<Warning>
  This disconnects the agent. Explain the impact and obtain explicit user
  confirmation before calling.
</Warning>

Hosted OAuth connections are revoked from AgentBank connection settings.
