Unlink a brokerage
unlink_brokerageDisconnect a brokerage from YOUR Gambit account (requires api:account). Call it ONLY when the user explicitly asks to unlink, and confirm which one first. connection_id (from list_brokerages) revokes that one link at SnapTrade and keeps the others. all: true removes every link and your SnapTrade registration. Either way the link cannot be restored from here — the user must log in to the broker again (start_brokerage_connect). It never sells or moves holdings. Returns the remaining connections.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unlink_brokerage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | unlink every brokerage instead of one | |
| connection_id | No | a connection id from list_brokerages |