create_test_campaign

Create a new SAVED, reusable Tests campaign.

Create a new SAVED, reusable Tests campaign.

Writes data · Calls external systems.

Parameters

FieldTypeRequiredDescription
acknowledgebooleanNoReset edit budget after user approval
collection_uidstringNoCollection UID to nest the Tests campaign under (default: product's campaigns root; a tests-root UID is rejected)
descriptionstringNoTests campaign description
namestringYesTests campaign name
productstringYesProduct slug (e.g. operator~product)
test_liststringYesJSON array of TestCampaignMember entries, e.g. '[{"position":0,"test":123,"owners":{},"input_variables":{}}]'

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "product": "string",
  "name": "string",
  "test_list": "string"
}

Description

(To run tests ad-hoc without saving, use build_campaign(test_ids=…) instead.)

test_list is a JSON array of {position, test, owners, input_variables}. All tests must belong to the given product. The authenticated user is auto-set as creator.

collection_uid nests the Tests campaign under a specific collection. When omitted, defaults to the product's campaigns root (test_campaigns_root_collection_uid). A Tests campaign must never live under a tests root — it renders as a test row and crashes the UI test list — so a tests-root collection_uid is rejected.

Consumes one slot of the per-session Tests-campaign edit budget (default: 20). Pass acknowledge=true after a budget-exhaustion message to reset.

What's next?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on