Attach a small file sent inline
attach_artwork_inlineFor programmatic clients only: attaches a file sent as base64 in data_base64, up to 10 MB, like attach_artwork (target, file_name with its extension). Never paste a file a customer dropped into a chat here; use attach_artwork_from_url or get_artwork_uploader_link. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
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": {
"target": "<target>",
"file_name": "<file_name>",
"data_base64": "<data_base64>"
},
"name": "attach_artwork_inline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Where the artwork goes. | |
| file_name | Yes | The file's name with its extension. | |
| data_base64 | Yes | The file's bytes, base64-encoded, up to 10 MB decoded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| next | Yes | ||
| side | Yes | ||
| files | Yes | ||
| total | Yes | ||
| checks | Yes | ||
| design | Yes | ||
| target | Yes | ||
| designs | Yes | Which file and page is each design's front and back, as the site resolves them. | |
| preview | Yes | ||
| attached | Yes | ||
| complete | Yes | Designs with every face they need. | |
| replaced | Yes | ||
| uploader_url | Yes | ||
| order_item_status | No |