upload_binary
Upload a local file to an Odoo binary field. Reads the file from an absolute path and writes it to the specified record's field, enabling cross-instance binary migration.
Instructions
💡 Before multi-step work, check find_skill / list_workflows for canonical recipes. Upload a local file into an Odoo record's binary field. Reads the file at source_path (absolute path on the MCP server filesystem), encodes it, and writes it to the specified field via the ORM — no base64 in AI context. Use this as the target step in a cross-instance binary migration: call download_binary on source MCP first, then upload_binary on target MCP using the same path. Returns {success, model, record_id, field, size_bytes} or {error}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| model | Yes | ||
| record_id | Yes | ||
| source_path | Yes |