List cost centres
list_cost_centersLists the company's cost centres. Use when the person asks which cost centres exist or needs a cost centre code. summarize.all_pages gives totals over every page. Read-only. Fortnox API GET /3/costcenters (https://api.fortnox.se/apidocs).
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": "list_cost_centers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| expand | No | Open each record (rows) | |
| fields | No | Only these columns | |
| offset | No | ||
| sortby | No | Official Fortnox list sort field; valid fields are resource-specific. | |
| sortorder | No | One of: ascending, descending | |
| summarize | No | Group and total on the server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||