Select Active Company
set_companySelect the active company for this connection using a company ID, exact name, or unique name fragment from list_companies. Saves the company selection for subsequent bookkeeping reads without changing bookkeeping records. Only companies accessible to the authenticated account can be selected. When several agents share this connection, pin true keeps the active company from moving until pin false, so no agent switches another; each names any other company in the company field of its own calls.
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": "set_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | true pins the active company for every agent on this connection; false unpins it. Leave out to keep the pin as it is. | |
| company | Yes | Company ID, exact name, or unique name fragment |