Zaps
v1.1.0Photos and a brief in, finished social-media designs out.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_templates Search Zaps templates
Find design templates. YOU write the query, and its wording decides the match: the catalogue describes each template as Title Case phrases separated by commas, and a query in that same register scores about 0.11 higher than the same intent written as a sentence. Write five or six phrases covering the occasion, the subject and the mood — "Coffee Shop, Cafe Vibes, Grand Opening, Latte Art, Cafe Aesthetic" rather than "grand opening of a neighbourhood coffee shop". A single word is worst of all. Returns templates with an id to fill and a link a person can open to keep editing.
| Parameter | Type | Description |
|---|---|---|
query * | string | Title Case phrases separated by commas, the way the catalogue describes itself. Five or six covering occasion, subject and mood. |
limit | integer | How many templates to return. Default 5. |
segment | string | Optional shape filter, e.g. story or carousel. |
upload_images Get upload links for local photos
Call this FIRST when the photos are on the caller's machine rather than already on the web — our renderer fetches over the network and cannot read a local path. Simplest way: read each file and pass it in `files` as base64; the reply gives you a publicUrl per photo to hand straight to create_designs, with nothing else to run. If you would rather upload the bytes yourself, pass `count` instead and you get presigned links to PUT to. Costs nothing either way.
| Parameter | Type | Description |
|---|---|---|
count | integer | Only when uploading the bytes yourself: how many links to mint. |
files | array | The photos themselves, base64 encoded. We store them and hand back a url each. Use this unless you have a reason not to. |
mimeType | string | The images' media type, e.g. image/png or image/jpeg. |
create_designs Turn your photos into finished designs
The whole job in one call: give it a SEARCH QUERY you have written, your photo URLs and the words you want on the design, and it finds templates that fit, renders each with your photos and your copy, and returns several finished designs to choose between. Use this when someone wants options — it is search and render together, so there is no need to call search_templates and fill_template yourself. Templates that hold every photo you supplied are preferred, so pass all of them. Photos attached in the conversation go in `photos`; photos already on the web go in `images`. Each returned design s…
| Parameter | Type | Description |
|---|---|---|
brief * | string | The SEARCH QUERY for the template catalogue — you write it, we do not build it from anything else. Title Case phrases separated by commas, the way the catalogue describes itself: "Birthday Party, Fr… |
count | integer | How many finished designs to return. Default 5, at most 10. |
images | array | Publicly reachable image URLs, in placement order. |
photos | array | Photos the person attached in this conversation, in placement order. Use this OR images, not both. |
segment | string | Optional shape filter, e.g. story or carousel. |
text | array | The words to put ON the designs — headline first, then any supporting lines. WRITE THESE YOURSELF from the brief: a template ships with the designer's placeholder copy, and leaving it means a coffee… |
fill_template Render a template with your photos
Render 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.
| Parameter | Type | Description |
|---|---|---|
coverId * | string | Template id, from a search_templates result. |
images | array | Publicly reachable image URLs, in placement order. |
photos | array | Photos the person attached in this conversation, in placement order. Use this OR images, not both. |