---
title: "update_test_campaign"
description: "Partial-update a Tests campaign (PATCH)."
sidebarTitle: "update_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 */}

Partial-update a Tests campaign (PATCH).

<Info>
  **Writes data · Idempotent · Calls external systems.**
</Info>

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `acknowledge` | boolean | No | Reset edit budget after user approval |
| `description` | string | No | New description |
| `name` | string | No | New name |
| `test_campaign_id` | number | Yes | Tests campaign id |
| `test_list` | string | No | JSON array: full replacement of test_list |

## Example arguments

Illustrative arguments an agent supplies when calling this tool:

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

## Description

```text
Any subset of name, description, test_list is accepted.

WARNING: test_list is a FULL REPLACEMENT, not a merge. To add or remove tests, first call get_test_campaign to read the current test_list, modify it, then pass the complete list.

Use list_test_versions on the member tests before replacing test_list to avoid surprises. Edit-budget gated.
```

## Related

- [`get_test_campaign`](/mcp/tools/test-campaigns/get_test_campaign)
- [`list_test_versions`](/mcp/tools/test-editing/list_test_versions)

## 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>
