Generate Codice Fiscale
generate_codice_fiscaleGenerates an Italian Codice Fiscale from personal data (surname, first name, date of birth, sex, and municipality/foreign country of birth — or the Belfiore code directly). Returns the "base" code (the omocodia variant used in case of collision is assigned by the Agenzia delle Entrate).
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": {
"cognome": "<cognome>",
"nome": "<nome>",
"data_nascita": "<data_nascita>",
"sesso": "<sesso>"
},
"name": "generate_codice_fiscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nome | Yes | First name. | |
| sesso | Yes | Sex: M or F. | |
| comune | No | Municipality (or foreign country) of birth. Alternatively use codice_belfiore. | |
| cognome | Yes | Surname. | |
| provincia | No | Province code (e.g. PI) to disambiguate municipalities with the same name. | |
| data_nascita | Yes | Date of birth as DD/MM/YYYY (e.g. 10/12/1985). | |
| codice_belfiore | No | Cadastral/Belfiore code of the place of birth (precise alternative to comune). |