Validate Vat
validate_vatValidate the FORMAT of a VAT registration number for the EU (+ UK/CH/NO), keyless & offline. Accepts the number with its country prefix ("DE123456789") or a national number plus country. Returns whether it matches the official country pattern. NOTE: format only — it does NOT confirm the VAT number is registered/active (use the EU VIES service for that).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vat": "DE123456789"
},
"name": "validate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat | Yes | A VAT number, e.g. "DE123456789" or "GB123456789". | |
| country | No | Optional 2-letter country code (EL for Greece, GB for UK) if `vat` has no prefix. |