Enviar un documento al caso
upload_documentSends one of the person's documents to their open case: PDF, JPG or PNG, up to 10 MB (photos up to 5 MB), as base64 or a public https URL. Needs the case_id and the access code from the email Ervon sent the person (ask them for it). The document goes where the person's own upload goes and is read the same way; the answer says what Ervon read and what is still missing. A historia laboral Colpensiones emailed is locked with the cédula: send it in "cedula". Never send a photo of the cédula: it is biometric data with its own authorization, which the person gives only on their link.
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": {
"case_id": "<case_id>",
"access_code": "<access_code>",
"document_type": "<document_type>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Alternatively, a public https URL to download the file from. | |
| cedula | No | The cédula that opens a locked Colpensiones PDF. | |
| case_id | Yes | ||
| filename | No | ||
| access_code | Yes | The code from Ervon's email, e.g. "ABCD-2345". | |
| document_type | Yes | What the document is. | |
| content_base64 | No | The file in base64 (a data: URL is also accepted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| text | Yes | ||
| used | No | ||
| locked | No | ||
| received | Yes |