Open agent account
stack_open_accountOpen an agent account: a new agent with its Passport, a standing Mission, and its pieces (inbox, phone, models, tools, workspace, browser, card, wallet; skip leaves out optional ones). Requires an account admin; opens at once, with no approval. Prepaid credit is the account's limit; monthly_budget_cents is an optional per-agent limit and needs controls (BUDGET_NEEDS_CONTROLS otherwise). A repeated call with the same idempotency key and the same request returns the same account. Returns the account with each piece's state: pending, ready, paused, failed, closing or closed. For a wallet, agent_public_key is the public half of a P-256 key the agent generated itself. When refused CONTROL_DENIED with reason review_required, ask again with the same input and control_ref set to the ref once the owner approved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"idempotency_key": "<idempotency_key>"
},
"name": "stack_open_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| skip | No | ||
| inbox | No | ||
| phone | No | ||
| wallet | No | ||
| control_ref | No | The ref of a refusal that held this action for the owner, sent as X-Control-Ref once the owner approved it; omit on the first request | |
| description | No | ||
| idempotency_key | Yes | Stable key for this exact request. A repeated call with the same key and request returns the same account. | |
| monthly_budget_cents | No | ||
| governance_approval_id | No | Accepted for older callers and sent as X-Governance-Approval; opening an account asks for no approval. |