Search companies
search_companiesSearch active legal entities by current or former name or registry code. Legal forms (AS, OÜ, MTÜ, SA, TÜ and full names) may be given in any position. When nothing matches exactly, names within one edit of the query are returned marked approximate with matched_on approximate_name; a still-empty result carries a hint. Set include_inactive for other statuses. County aliases and cursor pagination are supported; unknown counties error. Use get_company for a full company profile, or find_companies to filter by county, Estonian Classification of Economic Activities (EMTAK), revenue or employees. Do not look up natural persons.
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": {
"query": "<query>"
},
"name": "search_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emtak | No | Estonian Classification of Economic Activities (EMTAK) code or prefix | |
| limit | No | At most 25 companies | |
| query | Yes | Company name or 8-digit registry code | |
| county | No | County name or alias (Harju, Harjumaa, Harju maakond). Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu. | |
| cursor | No | Opaque cursor from a previous next_cursor for the next page | |
| include_inactive | No | Include liquidated, bankrupt, and deleted companies. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to retry when no company matched. Present only on an empty result. | |
| as_of | Yes | ||
| sources | Yes | ||
| companies | No | ||
| row_count | No | ||
| truncated | No | ||
| disclaimer | Yes | ||
| next_cursor | No | ||
| snapshot_id | Yes | ||
| disclaimer_en | No | English disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision. | |
| source_details | Yes | Full attribution and acquisition evidence: source_metadata(source_key). | |
| omitted_sections | No | Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated. |