Add images to collections
add_imagesSort images you sent to a space (upload_file with space_id) into its collections, as a drop in the app: each lands in the collection and group it fits, and images that fit none start a new collection. The answer says where each landed, with app links, and gives a drop_id: undo_drop takes the whole drop back within a day. Sorting looks at every image, so a big drop takes up to a minute.
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": {
"space_id": "<space_id>",
"image_ids": "<image_ids>"
},
"name": "add_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | What to call a new collection for images that fit none, such as the folder they came from. | |
| space_id | Yes | The space the images were sent to. | |
| image_ids | Yes | image_id values from upload_file's answers. | |
| collection_id | No | One of this space's own collections from list_space (no from_space_id): sort into its groups only, as a drop on its page. |