Add a stock photo
add_imageSave a Pexels photo (id from search_images) into the site. Add the returned credit line near the photo or in the footer.
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": {
"site": "<site>",
"photo_id": "<photo_id>"
},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | e.g. "img/hero.jpg" | |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| size | No | large | |
| photo_id | Yes |