Read a register (cost centres, contracts, partners, …)
wflow_get_registerLook up any wflow register entry by type with query/sort filters and automatic pagination.
Instructions
Read entries from any wflow register/reference table. type is one of: accountingrules, activities, businesscases, businessitems, businessitemcategories, carddocumenttypes, cashdocumenttypes, cashregisters, chartofaccounts, contracts, costcenters, employees, locations, measureunits, organizationpersons, partnerpersons, partners, paymentmethods, projects, series, vatcontrolstatementlines, vatreturnlines, vatreversechargecodes, vehicles.
Each entry typically has {id, externalId, code, description, isValid}. Supports the wflow query/sort syntax and auto-pagination — e.g. resolve a cost centre named 'Centrála' with type='costcenters' and query=description = "Centrála".
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": {
"type": "<type>"
},
"name": "wflow_get_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| type | Yes | Register type. | |
| query | No | wflow filter expression, e.g. `code = "202"`. | |
| maxItems | No | ||
| onlyValid | No | If true, return only entries with isValid=true. | |
| organization | No |