Avvikelser
get_deviations_vs_last_yearAccount-by-account comparison with the year before, sorted by the size of the change. Use when the person asks which costs or revenues have changed most compared with last year. Example question: "Vilka kostnader har ökat mest mot förra året, och varför?" 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_deviations_vs_last_year"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | antal konton, standard 25 Number. | |
| date | No | ÅÅÅÅ-MM-DD för att välja år Date as YYYY-MM-DD unless the text allows more. | |
| to_account | No | standard 8989 (8999 Årets resultat är bokslutets motpost, ingen kostnad) BAS account number. | |
| from_account | No | standard 3000 BAS account number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||