Download a document PDF / Télécharger le PDF d’un document
document_getUse this when the user wants the file of a document already produced: returns a short-lived download link. Set include_pdf only when the user explicitly needs the PDF embedded; the PDF is never re-fetched from the Registre. Requires an authenticated Fonciq account. / Exige un compte Fonciq authentifié. Read-only: delivers no new document and charges nothing. / Lecture seule : aucun document livré, rien n’est facturé. À utiliser pour obtenir un lien de téléchargement temporaire d’un document déjà produit.
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>"
},
"name": "document_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. | |
| include_pdf | No | If true, embed the PDF as a base64 resource. Default false. / Si vrai, intègre le PDF en base64. Faux par défaut. |