Create photos
cms_create_photosUpload images to a CMS photo gallery section as a batch. Guidance: Upload one or more images to a CMS photo gallery section as a single batch. | context: section, photos
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": {
"section": "<section>",
"photos": "<photos>"
},
"name": "cms_create_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photos | Yes | Non-empty array of up to 10 image entries. Each entry must be an object with an image source. | |
| status | No | Optional batch publication status applied to every photo without its own status. Omit to default to published. | |
| titles | No | Optional photo titles in the same order as photos. | |
| section | Yes | Photo gallery section id returned by cms_list_cms_sections with type='photo'. | |
| contents | No | Optional photo descriptions or captions in the same order as photos. | |
| photo_statuses | No | Optional per-photo publication statuses in the same order as photos. Values are published or stock. |