ok is false, data is null, and error contains a machine-readable error code. Some errors also include a details field with additional context.
Read-only tools
list_campaigns
Lists campaigns in your workspace. Results are paginated. Recipient addresses are never included in list responses.
Response data:
list_templates
Lists email templates in your workspace. Results are paginated.
Response data:
list_audiences
Lists audiences in your workspace. Results are paginated. Contact details and recipient addresses are never returned.
Response data:
get_campaign
Retrieves the full details of a single campaign by ID, including content, status, subject, sender, and metadata.
Response data: a campaign object containing content, status, subject line, sender information, audience reference, and updated_at.
Write tools
create_audience
Creates a new, empty audience in your workspace. This tool does not add contacts — it only creates the audience container.
Response data: the created audience object including its new ID.
create_email_template
Creates a new email template in your workspace.
Response data: the created template object including its ID and updated_at.
create_campaign_draft
Creates a new campaign in draft status. This tool never sends or schedules a campaign.
Response data: the created campaign draft object, including its ID and updated_at. Save updated_at — you will need it to call update_campaign_draft.
update_campaign_draft
Updates an existing campaign draft. You must supply the current updated_at value to prevent overwriting concurrent edits. Locked campaigns and campaigns that are not in draft status cannot be modified.
The
updated_at timestamp from your last read of this campaign. Used as a concurrency guard.data: the updated campaign object with a new updated_at value.
Conflict error: if the updated_at you send does not match the current version stored on the server, the tool returns:
get_campaign to retrieve the latest version, re-apply your changes, and retry.
remember_brand_fact
Saves a durable brand fact to your workspace’s memory store. Facts persist across sessions and are available to AI clients reading workspace brand context. Requires owner or admin role.
The brand fact to store (e.g., “Our brand voice is warm, direct, and never uses jargon.”).
data: the saved memory object including its ID and timestamp.
update_brand_instructions
Updates persistent brand instructions for your workspace. These instructions are used as design references or AI directions when generating content. Requires owner or admin role.
Response data: the updated instructions record.
save_image_to_library
Validates a publicly accessible image URL and copies it into your workspace image library. The URL must be publicly reachable — private IPs, localhost URLs, and URLs requiring authentication are rejected.
Response data: the saved image object, including the workspace storage URL you can reference in templates.
Invalid URL error: if the URL is private, inaccessible, or invalid, the tool returns: