---
title: "Cancel Voice Test Run"
description: "Cancel a voice agent test run."
---

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

# Cancel Voice Test Run

Use the Speak AI MCP server tool `cancel_voice_test_run` to cancel a voice agent
test run.

## What does it do?

Cancel a voice agent test run. Requires the OWNER or ADMIN role. Valid from queued,
running, or paused. Terminal: a cancelled run can never be resumed.

## Parameters

`cancel_voice_test_run` takes 2 parameters, all of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `agentId` | string | Yes | ID of the voice agent (from `list_voice_agents`) |
| `runId` | string | Yes | ID of the run (from `get_active_voice_test_run` or `list_voice_test_runs`) |

## Behaviour

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

- Can change data in your workspace.
- Can delete or overwrite data. Use with care.
- Repeating an identical call can have an extra effect.
- 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/cancel_voice_test_run/index.mdx
