Add a photo or document
add_photoAttach a photo or document to an existing item, property, place, maintenance task, or completed task; item images are read by the vision model to suggest fields.
Instructions
Attaches a photo — or a receipt, manual or warranty card as kind "document" — to an item that already exists (itemId), or to what isn't one thing: a property (the deed, the insurance policy), a place (a room's inspection report), a house-wide maintenance task (a quote), or one time a task was done (doneId, from complete_maintenance: the invoice). Give exactly one of them. An item's is read by the vision model 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. The others are read for their words only (to find them by: search_inventory's files). To add a new thing from its photo use add_item_from_photo instead. Counts as AI actions when the AI is on.
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": {
"data": "<data>"
},
"name": "add_photo"
}
}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, report or warranty card (photo or PDF) | photo |
| doneId | No | Or the time a task was done: doneId from complete_maintenance | |
| itemId | No | The item's id, from search_inventory | |
| taskId | No | Or a maintenance task's id, from list_maintenance (an item's task keeps it on the item) | |
| filename | No | The file's name, with its extension ("receipt.pdf") | photo.jpg |
| locationId | No | Or a place's id, from list_locations | |
| propertyId | No | Or a property's id, from list_locations |