Look up legal forms and statuses
lookup_codeThe values the filters accept, per country: legal forms (ISO 20275 ELF code and national label; q also finds a common national abbreviation of the form) and register statuses (platform status and the national labels it maps from), every value a page at a time (meta.next_cursor). kind=activity is not served yet: its source has no confirmed licence, so it answers no rows with meta.withheld not_licensed. Costs one call only.
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": {
"kind": "<kind>",
"country": "<country>"
},
"name": "lookup_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Words, a code or a code prefix. Required for activity; without it legal_form and status list every value, a page at a time. | |
| kind | Yes | ||
| limit | No | Maximum rows per page, 1-20. | |
| cursor | No | legal_form and status: meta.next_cursor of the previous page, with the same kind, country and q. Not for activity. | |
| country | Yes | ISO 3166-1 alpha-2 country code, any case (e.g. "LT"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||