download_binary
Download a binary field from an Odoo record to a local absolute path, decoding it from base64 for direct file storage.
Instructions
Download a binary field value from an Odoo record to a local absolute path on the MCP server filesystem. The binary is decoded and written to disk — no base64 passes through the AI context. Use this as the source step in a cross-instance binary migration: call download_binary on source MCP, then upload_binary on target MCP using the same path. Returns {success, dest_path, size_bytes} or {error}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| model | Yes | ||
| dest_path | Yes | ||
| record_id | Yes |