Add chat attachment directly to a Canvas media node
aimixer_canvas_import_attachmentUse when the user attached a photo, video or audio FILE and wants it added to a Canvas project (for an already finished MixerAI generation result use aimixer_canvas_attach_result instead). Adds it directly into an owned Canvas project. A ChatGPT host file binds via openai/fileParams; the server imports original bytes and attaches them as a media node in one operation, without paid generation. Read Canvas for project_id and expected_rev first. For an empty existing media node specify node_id, or omit node_id to create a new media node. Reuse the same request_id on uncertain retry. With no host file use an existing owned reference from aimixer_media_import instead. Inputs expire in 24h.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| node_id | No | ||
| reference | No | ||
| project_id | Yes | ||
| request_id | Yes | ||
| expected_rev | Yes | ||
| file_media_family | No |