---
title: "Update Voice Test Suite"
description: "Create or update a voice agent's test suite."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Voice Test Suite

Use the Speak AI MCP server tool `update_voice_test_suite` to create or update a
voice agent's test suite.

## What does it do?

Create or update a voice agent's test suite. Requires the OWNER or ADMIN role.
Upserts. Send the full scenarios array you want to keep: it replaces the stored one,
it is not merged.

## Parameters

`update_voice_test_suite` takes 6 parameters, 1 of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `agentId` | string | Yes | ID of the voice agent (from `list_voice_agents`) |
| `scenarios` | array of object | No |  |
| `maxCostPerRun` | number | No |  |
| `autoRunOnKbUpdate` | boolean | No |  |
| `autoRunOnInstructionSave` | boolean | No |  |
| `scheduledCron` | string or null | No |  |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for
`update_voice_test_suite`.

- Can change data in your workspace.
- Can delete or overwrite data. Use with care.
- Repeating an identical call is safe.
- Stays inside Speak AI. Does not reach other systems.

## Related

- [Voice agents](/mcp/tools/voice-agents/) lists the rest of the Voice agents
  category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/voice-agents/update_voice_test_suite/index.mdx
