Abrir un caso
start_caseOpens the person's case through the same pipeline as the site's form (/empezar): free review, no charge until there is a result. Before calling: (1) confirm every field with the person, (2) show them the data authorization of the service's area (list_services.data_authorizations) and set consent=true only if they accept it. "answers" takes the service's questions by key (list_services.services[].questions). Returns the case_id and the person's private link (signing_link), which they also get by email: give it to the person, who signs there, and gives their DIAN password there if their case needs it, themselves. Never sign, act on that link for them or ask for passwords. The email also carries an access code for you: ask the person for it to use upload_document and case_status. A repeat within 24 h updates the same case and returns no new link (it is in the first email).
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": {
"product": "<product>",
"email": "<email>",
"phone": "<phone>",
"consent": "<consent>"
},
"name": "start_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Only when the service has no city question. | |
| name | No | The person's full name, if they give it (the form does not ask for it). | |
| Yes | The person's email: their private link and your access code go there. | ||
| phone | Yes | Mobile, ideally with WhatsApp, e.g. "300 123 4567". | |
| answers | No | The service's questions, by key, as strings: e.g. {"ciudad": "Bogotá", "cedula": "1234567890", "placa": "ABC123"}. Dates as AAAA-MM-DD; choices exactly as listed. | |
| consent | Yes | True only after the person read and accepted the data authorization of the service's area. | |
| product | Yes | The service id from list_services. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| case_id | Yes | ||
| message | Yes | ||
| existing | No | ||
| email_sent | No | ||
| signing_link | No |