Kundtopplista
get_top_customersCustomers ranked by invoiced amount for a period, compared with the same period the year before. Use when the person asks which customers bought the most or how revenue per customer has changed. Example question: "Vilka kunder omsatte mest i år, och hur har det ändrats?" Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, 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": "get_top_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | antal, standard 25 Number. | |
| todate | No | ÅÅÅÅ-MM-DD, standard i dag Date as YYYY-MM-DD unless the text allows more. | |
| fromdate | No | ÅÅÅÅ-MM-DD, standard räkenskapsårets start Date as YYYY-MM-DD unless the text allows more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||