Close agent account
stack_close_accountClose an agent account. Its agent is refused at once, in-flight charges settle, then every piece is closed at its provider. Requires an account admin. Returns the account in its closing or closed state.
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": {
"account_id": "<account_id>"
},
"name": "stack_close_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Agent account id (acct_*) |