Look up a Swiss company's UID by name, live from the federal register
find_company_by_nameResolves a company name to its UID by searching live against Zefix — not this dataset. Call search_companies first; an empty page there means not in this dataset, not that the company doesn't exist, so use this only once that comes back empty. Matches the start of the name (Zefix's own search, "*" wildcard allowed), at least 3 characters; an optional canton narrows it. Returns candidate uid, name, canton, legal form and status only — no AI fields, since the company may not be ingested yet — and names are not unique, so more than one candidate can come back for you to disambiguate before calling load_company with the right UID. matches is an empty list for a real zero; unavailable is set instead when the live register could not be reached. A broad match (e.g. a short or generic name) is capped at100results, with matchesTruncated set — narrow the name or add canton rather than assume completeness.
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": {
"name": "<name>"
},
"name": "find_company_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Company name, at least 3 characters; Zefix's own prefix/exact match, "*" wildcard allowed | |
| canton | No | Two-letter canton code, e.g. "ZH", to narrow the search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| source | Yes | ||
| disclaimer | Yes |