Repository navigation
[EX-2672] Add campaign experiment lifecycle tools - #45
Merged
Merged
Conversation
Agents need create, run, and reporting actions once @iterable/api 0.13.0 is published.
mariamelo-iterable
marked this pull request as ready for review
September 30, 2026 09:47
peedrouIterable
approved these changes
Sep 30, 2026
| createTool({ | ||
| name: "get_experiment_totals", | ||
| description: | ||
| "Get lifetime send and conversion totals for a campaign experiment. Holdout is omitted, missing counts are 0, and lift and confidence are not included.", |
There was a problem hiding this comment.
Is it possible to include or will it have a major rework, or is it out of scope?
Contributor
Author
There was a problem hiding this comment.
lift and confidence? Out of scope, might be added when we change our data source further down the road
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
EX-2672
Adds MCP tools for campaign experiment lifecycle and reporting: create, copy a variant, update settings, start, cancel, declare a winner, delete, totals, and trends. Declares
@iterable/api0.13.0.pnpm-lock.yamlstill resolves 0.12.0 because 0.13.0 is not published yet. CI install is expected to fail until that version is on the registry and the lockfile is updated.Testing
pnpm test:unitpassed locally (40 suites, 254 tests) against an installed 0.13.0 client@iterable/api@0.13.0is published