generate_document_pdf
Generate or regenerate PDFs for Dolibarr documents: invoices, proposals, orders, contracts, and interventions. Specify module, ID, and language.
Instructions
Générer/regénérer le PDF d'un document Dolibarr
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": {
"modulepart": "<modulepart>",
"id": "<id>"
},
"name": "generate_document_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID de l'objet | |
| langcode | No | Langue (ex: 'fr_FR') | |
| modulepart | Yes | Module: 'invoice', 'proposal', 'order', 'contract', 'intervention' |