Cost centers
get_cost_centersThe company's cost centers: the two families (the company's own axes, e.g. Department and Project) and the cost centers inside each. A family with an empty title is one the company does not use. Archived cost centers are excluded — they stay on old bookings but are never offered for new work. Call this before answering anything about cost centers, departments or projects, or before naming one in a booking. An empty list means the company has not set any up; whether the feature is on at all is cost_centers_activated on the company.
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_id": "<company_id>"
},
"name": "get_cost_centers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The company to work on — one of list_my_companies' company_id values. |