Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TOOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- **activate_triggered_campaign** ✏️✉️: Activate a triggered campaign (requires API triggered campaign activation enabled)
- **archive_campaigns** ✏️: Archive one or more campaigns. Scheduled/recurring campaigns will be cancelled, running campaigns will be aborted.
- **cancel_campaign** ✏️: Cancel a scheduled or recurring campaign
- **create_campaign** ✏️✉️: Create a new blast or triggered campaign from an existing template. If listIds are provided, the campaign will be a blast campaign, otherwise it will be a triggered campaign. Blast campaigns will be sent immediately if sendAt is not provided.
- **create_campaign** ✏️✉️: Create a new blast or triggered campaign from an existing template. If listIds are provided, the campaign will be a blast campaign; it is created in Ready state and will be sent at the given sendAt time, which is required. If listIds are not provided, the campaign will be a triggered campaign in Ready state that must be activated before it can send.
- **deactivate_triggered_campaign** ✏️: Deactivate a triggered campaign (requires API triggered campaign deactivation enabled)
- **get_campaign**: Get detailed information about a specific campaign
- **get_campaign_metrics**: Get campaign performance metrics
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"dependencies": {
"@alcyone-labs/zod-to-json-schema": "4.0.10",
"@iterable/api": "0.6.0",
"@iterable/api": "0.6.1",
"@modelcontextprotocol/sdk": "1.18.1",
"@primno/dpapi": "2.0.1",
"@types/json-schema": "7.0.15",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tool-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const SEND_TOOLS: Set<string> = new Set([
"send_campaign",
"trigger_campaign",
"schedule_campaign",
// Creating a blast campaign can send immediately if sendAt not provided
// Creating a blast campaign schedules a send (sendAt is required when listIds is provided)
"create_campaign",
// Triggered campaigns can cause sends upon activation; block unless explicitly allowed
"activate_triggered_campaign",
Expand Down
2 changes: 1 addition & 1 deletion src/tools/campaigns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function createCampaignTools(client: IterableClient): Tool[] {
createTool({
name: "create_campaign",
description:
"Create a new blast or triggered campaign from an existing template. If listIds are provided, the campaign will be a blast campaign, otherwise it will be a triggered campaign. Blast campaigns will be sent immediately if sendAt is not provided.",
"Create a new blast or triggered campaign from an existing template. If listIds are provided, the campaign will be a blast campaign; it is created in Ready state and will be sent at the given sendAt time, which is required. If listIds are not provided, the campaign will be a triggered campaign in Ready state that must be activated before it can send.",
schema: CreateCampaignParamsSchema,
execute: (params) => client.createCampaign(params),
}),
Expand Down