Upload files to Odoo via link
aidoo_attachGenerate an ephemeral upload link so files go into Odoo without AI exposure; users open it to attach invoices or documents, then retrieve created IDs.
Instructions
Send files into Odoo WITHOUT the content passing through the AI. Generates an ephemeral single-use upload LINK (30 min) that the user opens to drop the files (invoices to digitize, contracts, justificatifs...). NEVER put base64 or raw file content in tool arguments — always use this link flow. action='request_upload' with named file slots (some may be optional), then give the URL to the user; action='status' to retrieve the created attachment/invoice IDs. Use purpose='invoice' to trigger Odoo's invoice digitization (OCR), or model+res_id to attach to an existing record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| model | No | ||
| action | Yes | ||
| res_id | No | ||
| purpose | No | ||
| upload_id | No | ||
| journal_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |