Läs flera underlag i ett anrop
extract_document_fieldsReads several document files in one call: amount, date, supplier, invoice number, OCR number (Swedish payment reference) and bank giro for each file in an inbox folder (mapp) or a list of file ids (ids). Use when the person asks what the invoices or receipts in an inbox folder say. Files not reached within the call's time limit are listed as remaining. Example question: "Vad står det på fakturorna som ligger i inkorgen?" 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": "extract_document_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | valfritt: filernas id, kommaseparerade (högst 40) — i stället för hela mappen, eller för att fortsätta med remaining Comma-separated. | |
| mapp | No | inkorgens mapp: inbox_s (leverantörsfakturor, standard), inbox_v (verifikationer), inbox_ku (kvitto och utlägg), inbox_d (dagskassa) One of: inbox_s, inbox_v, inbox_ku, inbox_d. | |
| namn | No | valfritt: del av filnamnet (sok och filnamn betyder samma sak); bara de filer i mappen vars namn innehåller texten läses |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||