Render a template with your photos
fill_templateRender a finished image: give it a template id from search_templates and the photo URLs to place, and it returns the rendered design. Photos are placed into the template's image slots in the order given, so pass them in the order you want them to appear. Photos attached in the conversation go in photos; photos already on the web go in images. Each render spends one agentic token.
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": {
"coverId": "<coverId>"
},
"name": "fill_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | No | Publicly reachable image URLs, in placement order. | |
| photos | No | Photos the person attached in this conversation, in placement order. Use this OR images, not both. | |
| coverId | Yes | Template id, from a search_templates result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| upsell | No | ||
| options | Yes | ||
| matchedBy | No | ||
| remaining | No | ||
| requested | No | ||
| entitlement | No |