attach_document
Attach documents to items or locations from local files or URLs, with support for manuals, warranties, receipts, photos, and setting a primary image.
Instructions
Attach a document to an item OR a location. source is a local file path
or an http(s) URL (downloaded then uploaded). doc_type is e.g. manual,
attachment, warranty, receipt, photo. identifier is assetId/alias/name
for an item, or a location name/path (tried as a fallback if no item
matches). Set primary=True to make a photo the entity's primary image —
e.g. a "this is the spot" wayfinding photo on a shelf/tote location
(doc_type="photo").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| source | Yes | ||
| primary | No | ||
| doc_type | No | manual | |
| identifier | Yes |