> ## 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.

# wait_for_agent_onboarding

> Poll browser authorization and finalize the connected agent and wallet binding.

**Authentication:** None\
**Mutates state:** Yes\
**Request ID:** Not required

```json theme={null}
{ "enrollment_id": "optional pending ID", "timeout_ms": 600000 }
```

`timeout_ms` defaults to ten minutes and is capped at fifteen minutes. The MCP
polls Privy and AgentBank, authenticates the selected Ethereum-compatible
wallet, signs the binding with the local installation key, finalizes
enrollment, and stores the connected-agent session locally.

Safe result fields include `privy_authorized`, `wallet_bound`, public wallet
details, and `authenticated`.

Reuse the same enrollment ID after a pending timeout. No credential, private
key, or signing key is returned.
