count_legal_entities
Count legal entities in Sweden's business register by county, municipality, industry, or employee-size filters without listing individual records.
Instructions
Count legal entities in the register, with the same filters as the search. Cheaper than listing them.
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": "count_legal_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lan | No | County code, two digits, for example 04 for Södermanland. | |
| kommun | No | Municipality code, four digits, for example 0486 for Strängnäs. | |
| naringsgren | No | Industry code (SNI), for example 41200 for building construction. | |
| anstalldaklass | No | Size class code for the number of employees. |