---
title: "get_test_campaign"
description: "Fetch a single Tests campaign with its full test_list."
sidebarTitle: "get_test_campaign"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Fetch a single Tests campaign with its full test_list.

<Note>
  **Read-only · Calls external systems.** Safe to call: this tool does not modify data.
</Note>

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `test_campaign_id` | number | Yes | Tests campaign id |

## Example arguments

Illustrative arguments an agent supplies when calling this tool:

```json
{
  "test_campaign_id": 0
}
```

## Description

```text
Each entry in test_list is {position, test (id), name, owners, input_variables}. owners and input_variables are per-campaign overrides — they only apply when the test runs as part of this Tests campaign.

To run it: build_campaign(test_campaign_id=<id>, variants=["Group:Variant"]) → run_campaign(overrides=…).
```

## Related

- [`build_campaign`](/mcp/tools/execution/build_campaign)
- [`run_campaign`](/mcp/tools/execution/run_campaign)

## What's next?

<Columns cols={2}>
  <Card title="All MCP tools" icon="robot" href="/mcp/tools/overview">
    Browse the full tool reference by category.
  </Card>
  <Card title="Connect a client" icon="plug" href="/mcp/connect">
    Point Claude, Cursor, or Claude Code at the server.
  </Card>
</Columns>
