render_static_ad
Render a static ad to PNG and JPEG. Costs 5 credits the first time (and when a photo format makes a new photo), refunded if it fails; confirm with the user before spending credits. Returns a jobId: poll get_job_status, then get_content for the image links.
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": {
"projectId": "<projectId>"
},
"name": "render_static_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPhoto | No | Photo formats only: make a new photo (charges again) | |
| projectId | Yes | Static ad projectId |