API reference
20 endpoints grouped by tag. Click any to see schema, REST/MCP/SDK examples, and try it live.
ai
audio
catalog
image-product-match
Identify a product from a photo. Reads the style code off the box or tag first and looks that up; falls back to reverse-image search when there is no legible label. Returns the matched product with its style code and evidence, or matched=false with the candidates it would not guess between. Built to refuse rather than pick a lookalike.
page-render
Load a URL in a real browser and return its visible text, title, and full-size image URLs. Handles JavaScript-rendered supplier and retailer pages that return an empty shell to a plain fetch.
shopify-collection-ensure
Ensure a vendor has a published brand smart collection and a Main Menu link to it. Idempotent on the vendor name.
shopify-product-upsert
Create or update one Shopify product by style code, set its stock, and publish it to every sales channel. Idempotent.
examples
generate-image
Generate an image from a text prompt. Returns a JobHandle; poll the get-job-status tool with the returned job_id (every 1-2s) until status is 'completed'. 3 credits per call.
summarize-url
Fetch a URL and return a title + preview snippet. 1 credit per call.
transcribe-audio
Transcribe an audio file via a webhook-capable provider (Pattern 4). Returns a JobHandle; poll the get-job-status tool with the returned job_id (every 1-2s) until status is 'completed'. 2 credits per call.
images
jobs
outreach
property
research
shopify
shopify-collection-ensure
Ensure a vendor has a published brand smart collection and a Main Menu link to it. Idempotent on the vendor name.
shopify-product-upsert
Create or update one Shopify product by style code, set its stock, and publish it to every sales channel. Idempotent.
socials
socials-cancel
Cancel a scheduled Upload-Post job only when its profile is allowlisted.
socials-list-scheduled
List scheduled Upload-Post jobs, filtered to allowlisted social profiles.
socials-schedule
Schedule an allowlisted Instagram/LinkedIn post. First call socials-stage-file once per PNG/PDF, then pass its file_ids here in slide order.
socials-stage-file
Stage one PNG or PDF for social posting. Pass either content_base64 or source_url (an https URL the server downloads itself). Call once per file, then pass the returned file_ids in slide order to socials-schedule.
vision
web
page-render
Load a URL in a real browser and return its visible text, title, and full-size image URLs. Handles JavaScript-rendered supplier and retailer pages that return an empty shell to a plain fetch.
summarize-url
Fetch a URL and return a title + preview snippet. 1 credit per call.
Uncategorized
async-demo
Enqueue a slow doubling task and return a JobHandle; poll the get-job-status tool with the returned job_id (every 1-2s) until status is 'completed'.
client-work-inbox
Fetch new Client Work messages from the server jobs (sale schedule, weekly letters, ads guard, new AI rollout leads, iGenius sync). Each message is returned once; empty list means nothing new.
hello
Greet someone by name.
islam-inbox
Fetch new Islam channel messages from the server jobs (Jami shorts, Jami audio). Each message is returned once; empty list means nothing new.
sabiqun-publish
Approve the latest Sabiqun episode: queue it to go public on YouTube. Pass the youtube_video_id from sabiqun-status.
sabiqun-status
Show the latest Sabiqun episode and whether it is published on YouTube.