tracea_check_demarche
THE anti-rejection check. Submit the data you collected; it validates every field against the official procedure schema AND cross-checks critical values against official French registries (e.g. SIRET against INSEE Sirene). Returns { ok: true, recordHash } or { ok: false, errors: [{ field, message }] }. ALWAYS call this BEFORE telling the user the file is ready, and fix the exact fields reported.
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": {
"id": "<id>",
"donnees": "<donnees>"
},
"name": "tracea_check_demarche"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Procedure id (e.g. 15776) | |
| donnees | Yes | Collected data as a flat object, field names exactly as in tracea_demarche_schema |