Add an item I own
add_itemAdd one item the signed-in person says they own to their wardrobe, from its description (for example 'navy wool coat') or the link to its product page. One call per item. It is filed in Alama's own terms and returned as filed: read reads_as back so the person can correct it. The item has no photo yet: when add_photo_url is returned, offer it as the way to add one now (a page that needs no app and no sign-in, valid for an hour), or they can photograph it in the Alama app. Add only what the person says they own, never a guess, and never something they are only thinking of buying (use add_want for that). Works only once the person has allowed it: by ticking 'Let assistants add clothes I describe' when connecting Alama, or by turning on 'Allow assistants to change my wardrobe' under Profile → Connected assistants in the Alama app; otherwise it refuses and says how. Free accounts can hold a limited number of items without a photo, and there is a daily limit; when one is reached it refuses and says so. Never deletes or changes an existing item.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| colour | No | ||
| item_id | Yes | The new item's id, as list_wardrobe and get_item use it | |
| category | No | ||
| reads_as | Yes | The item as filed, in a few words: read it back so the person can correct it | |
| has_photo | No | Always false here: the item is added without a photo | |
| subcategory | No | ||
| add_photo_url | No | A one-hour link to a page where the person adds a photo of this item, with no app and no sign-in. Offer it right after the add; the photo gets the same clean-up as one taken in the Alama app. | |
| until_profile | Yes | Items still needed before a style profile can be written; 0 once there | |
| free_adds_left | No | Items without a photo still available on a free account; absent on paid tiers | |
| items_in_wardrobe | Yes | Items in the wardrobe after this add |