get_document
Fetch a document from Dolibarr by providing the module and original file path; returns the file content encoded in base64.
Instructions
Télécharger/obtenir un document (retourne base64)
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>",
"original_file": "<original_file>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modulepart | Yes | Module: 'invoice', 'proposal', 'order', etc. | |
| original_file | Yes | Chemin du fichier (obtenu via list_documents) |