Company profile with website contacts
enrich_companyA whole-firm profile in one call: the ONRC registry record plus the contacts discovered on that firm's website, each labelled with a confidence and a source.
Instructions
A whole-firm profile in one call: the ONRC registry record plus the contacts discovered on that firm's website, each labelled with a confidence and a source. Prefer this over lookup_business followed by extract_contacts when you want everything about one company. cui is its tax code; website overrides the registered one; max_pages bounds the crawl; refresh=true crawls now instead of answering from the cache.
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": {
"cui": "<cui>"
},
"name": "enrich_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | Romanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted. | |
| refresh | No | true crawls now even if a cached result exists (default false: answer from the cache when there is one). | |
| website | No | Optional website override (domain or URL). When omitted, the firm's registered website is used (an error if none is on file). | |
| max_pages | No | Maximum number of pages to crawl (1-20, default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | No | The firm's CUI. | |
| asOf | No | What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| company | No | A company record: companyName, cui, registrationCode, registrationDate (DD/MM/YYYY), legalForm, euid, address (a sole trader's PFA/II/IF locality only in an answer listing several firms, with addressScope: locality), county, city, website, phone (+ phoneSource: ANAF, declared by the taxpayer), caenActivities [{code, activity (RO), activityEn}], directors, representatives [{name, role}], status [{code, name}], latestFinancials {year, revenue, netResult, employees; RON}, anaf {mainCaen, vatPayer, eFactura, inactive}, risk {level, label, reasons, isLead}, source, asOf, url (the firm's public record page to share with the user; null for sole traders and other natural persons), and score/match on name searches. With fields or compact, only the requested keys (compact keeps url). | |
| crawled | No | true when the site was crawled for this answer. | |
| message | No | A sentence for the caller. | |
| website | No | The website crawled. | |
| cacheHit | No | true when answered from the cache. | |
| contacts | No | Contacts found, each with type, value, confidence and source; an email also has personal (true for a firstname.lastname@ address: GDPR art. 14 and Law 506/2004 apply), role addresses first. | |
| crawlError | No | Why the crawl failed, if it did. | |
| pagesCrawled | No | Pages read. | |
| websiteSource | No | Where the website came from: registry or override. |