Compose asset
compose_assetCrop any image to a format's exact pixel size and bake on a headline, CTA and logo, e.g. to move a reframed crop or try new copy on an existing render without paying for a new one. Returns a URL to the PNG. With brand_id, blank copy fields take the kit's defaults.
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": {
"image_url": "<image_url>",
"format": "<format>"
},
"name": "compose_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | ||
| crop | No | Where the format's window sits on the image. Omit for a centred crop. | |
| brand | No | The full brand, only when there is no kit for it. brand_id is simpler. | |
| format | Yes | ||
| overlay | No | ||
| brand_id | No | A brand kit from list_brands (id or name). Brings the colours, fonts, logo, website and default copy (headline, call to action, small print); use instead of brand. | |
| headline | No | ||
| image_url | Yes | ||
| small_print | No |