Add a photo or document to an item
add_photoAttach a photo or document (receipt, manual, warranty) to an existing inventory item; the vision model reads it and suggests fields to confirm and apply.
Instructions
Attaches a photo — or a receipt, manual or warranty card as kind "document" — to an item that already exists. The vision model reads it in the background; about 20 seconds later get_item shows what it saw and any suggested fields: confirm them with the person before applying them with update_item. To add a new thing from its photo use add_item_from_photo instead. Counts as AI actions when the AI is on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The image (or PDF, for a document) as base64; no data: prefix | |
| kind | No | photo: a picture of the thing; document: a receipt, manual or warranty card (photo or PDF) | photo |
| itemId | Yes | The item's id, from search_inventory | |
| filename | No | The file's name, with its extension ("receipt.pdf") | photo.jpg |