Leave a company
company_leaveLeaves one of your companies; your access ends immediately and you need a new invitation to return. The last owner cannot leave: make someone else an owner first. Call without confirm first for a preview, then again with confirm and the preview_token.
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": {
"company": "<company>"
},
"name": "company_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | Company ref (CO-XXXXXXXX) from company_list_mine. | |
| confirm | No | Set true only on the second call, after the user approved the preview. | |
| preview_token | No | The preview_token returned by the first call (same input). |