Demo
08 MCP TOOLS

MCP Tools

AUTO-GENERATEDBUILD 2026.12.05

TestZeus exposes 110 tools through its FastMCP server, so compatible AI clients can call TestZeus natively.

Add the MCP server

The server is not published to PyPI. Install it from source with uv:

bash
git clone https://github.com/test-zeus-ai/testzeus-mcp-server.git
cd testzeus-mcp-server && uv sync

Every client runs the same command with your TestZeus email and password in TESTZEUS_EMAIL and TESTZEUS_PASSWORD. For Claude Code:

bash
claude mcp add testzeus \
  --env TESTZEUS_EMAIL=you@example.com \
  --env TESTZEUS_PASSWORD='your-password' \
  -- uv run --directory /path/to/testzeus-mcp-server testzeus-mcp-server

Claude Desktop, Cursor and other clients that read an mcpServers JSON file take the same values:

json
{
  "mcpServers": {
    "testzeus": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/testzeus-mcp-server", "testzeus-mcp-server"],
      "env": {
        "TESTZEUS_EMAIL": "you@example.com",
        "TESTZEUS_PASSWORD": "your-password"
      }
    }
  }
}

Restart the client, then use the tools below.

Test Blocks tools

For step-based tests, use the *_test_blocks* tools — not create_test (Gherkin only).

Requires testzeus-cli ≥ 0.0.32, testzeus-sdk ≥ 0.0.28, and testzeus-mcp-server ≥ 2.0.4 for the matching surfaces. Split review needs testzeus-cli ≥ 0.0.35 and testzeus-sdk ≥ 0.0.34.

Test Blocks product guide.

Tool Purpose
create_test_blocks Empty test (testing_type web or mobile)
update_test_blocks_config Environment, test data, environment_url_key (web)
add_test_blocks_step / update_test_blocks_step / delete_test_blocks_steps Linear step edits
get_test_blocks Full graph + validation
verify_test_blocks Run-until-verified (poll with wait=false); returns held_steps when a step needs a split review
apply_test_blocks_split / dismiss_test_blocks_split Replace a held step with its suggested steps (candidate_ids picks some), or keep it as one
save_test_blocks Mark runnable when all steps verified
live_run_test_blocks / get_test_blocks_run_status Official run + status

After create_test_blocks, web tests need environment_url_key on the config tool before verify. Mobile tests use testing_type="mobile" and step_type="mobile" on steps; verify leases a device, not a browser.

Before it runs anything, verify checks that each plain-language browser step is one action. A step that bundles several is held with suggested steps: apply the split (all suggestions, or the ones you pick), reword the step, or keep it as one on purpose, then verify again. Assertions, recorded steps, code you wrote, logic and backend steps are never held.

run_test checks readiness but use live_run_test_blocks for Test Blocks live-run metadata.

add_environment_file

Add a environment file.

Parameter Type
environment_id str
file_path str

add_hypermind_code_block_file

Add a code file to a hypermind code block.

Parameter Type
code_block_id str
file_path str

add_test_blocks_step

Add one step. Without source, code is generated from instruction when the test is verified.

A browser step is one action, as in the builder: "Click New", not "Create an Account and save it".

is_assert makes the step a check. assert_mode says what a failed check does to a run: hard (default) stops it, soft records the failure and goes on. assert_mode implies a check.

request is the typed form for soql/apex/http, e.g. {"query": "SELECT Id FROM Account", "outputName": "accounts"}.

Parameter Type
test_id str
instruction str = ""
step_type Literal["browser", "mobile", "backend", "soql", "apex", "http"] | None = None
source str | None = None
label str | None = None
after_step_id str | None = None
request dict[str, Any] | None = None
is_assert bool = False
target_org str | None = None
prepend bool = False
assert_mode Literal["hard", "soft"] | None = None

add_test_data_file

Add a test data file.

Parameter Type
test_data_id str
file_path str

apply_test_blocks_split

Replace a step verify held for being more than one action with its suggested steps.

Uses every suggested candidate unless candidate_ids names some (ids from held_steps).

Parameter Type
test_id str
step_id str
candidate_ids list[str] | None = None

cancel_adversary_run

Cancel a running adversarial simulation group.

Parameter Type
group_id str

cancel_test_run_group

Cancel all running test runs in a test run group.

Parameter Type
test_run_group_id_or_name str

cancel_test_suite_run

Cancel a running test suite run.

Parameter Type
test_suite_run_id str

create_environment

Create a new environment. Returns the created record, including its ID.

device_type controls which fields are allowed / shown:

  • 'browser' (default): supporting_data_files, connected_environments, email_manager (do not pass mobile_supporting_data_file or mobile_device)
  • 'mobile-android'/'mobile-ios': mobile_supporting_data_file, mobile_device (do not pass supporting_data_files or connected_environments)

mobile_device is a device_pool ID or device_name (use list_device_pool to discover). data_content is a JSON object (or JSON string) in the format: {"items": [{"key": "name", "value": "val", "type": "variable|secret"}]} tags/connected_environments/email_manager must be names of existing records, or IDs. agent_grounding_prompt is a JSON object with 'test_creation' and/or 'test_execution' string keys; missing keys default to "".

Parameter Type
name str
device_type Literal["browser", "mobile-android", "mobile-ios"] = "browser"
data_content dict[str, Any] | str | None = None
tags list[str] | None = None
supporting_data_files str | None = None
mobile_supporting_data_file str | None = None
mobile_device str | None = None
connected_environments list[str] | None = None
email_manager list[str] | None = None
source_code_integrations list[str] | None = None
agent_grounding_prompt dict[str, Any] | str | None = None

create_hypermind_code_block

Create a new hypermind code block.

Parameter Type
name str
tags list[str] | None = None

create_notification_channel

Create a new notification channel.

Args

  • name: Name of the notification channel
  • emails: List of email addresses (required)
  • webhooks: List of webhook URLs (optional)
  • is_active: Set as active notification channel (default: True)
  • is_default: Set as default notification channel (default: True)

Returns

  • JSON string with created channel details
Parameter Type
name str
emails list[str]
webhooks list[str] | None = None
is_active bool = True
is_default bool = True

create_tags

Create a single tag. Returns the created tag, including its ID.

Parameter Type
name str
value str | None = None

create_test

Create a Gherkin (Hercules) test in TestZeus. Only when the user asks for Gherkin.

Test Blocks is the default for a new test: unless the user names Gherkin, a feature file, or Given/When/Then, use create_test_blocks instead. testing_type defaults to 'web'. When set to 'mobile', an environment reference is required.

Parameter Type
name str
test_feature str
testing_type Literal["web", "mobile"] = "web"
test_data list[str] | None = None
tags list[str] | None = None
environment str | None = None
test_params dict[str, Any] | None = None
output_schema dict[str, Any] | None = None
execution_mode Literal["lenient", "strict"] = "lenient"

create_test_blocks

Create an empty Test Blocks test (ordered Playwright / tz Python steps).

Use this for any new test unless the user asks for Gherkin. Do not use create_test for this: that path requires a Gherkin feature. After create, set environment_url_key via update_test_blocks_config, add steps, verify, save, then live_run_test_blocks.

Parameter Type
name str
testing_type Literal["web", "mobile"] = "web"
environment str | None = None
test_data list[str] | None = None
knowledge_base_id list[str] | None = None
idempotency_key str | None = None

create_test_data

Create a new test data record. Returns the created record, including its ID.

content is a JSON object (or JSON string) in the format: {"items": [{"key": "name", "value": "val", "type": "variable|secret"}]} tags must be names of existing tags, or tag IDs. agent_grounding_prompt is a JSON object with 'test_creation' and/or 'test_execution' string keys; missing keys default to "".

Parameter Type
name str
content dict[str, Any] | str | None = None
tags list[str] | None = None
supporting_data_files str | None = None
agent_grounding_prompt dict[str, Any] | str | None = None

create_test_report_schedule

Create a new test report schedule.

Args

  • name: Name of the test report schedule
  • is_active: Set as active test report schedule (default: True)
  • filter_name_pattern: Filter using TestRun name pattern
  • filter_time_intervals: Filter using time intervals (mutually exclusive with cron_expression) example: {"start_time": "2025-01-01 00:00:00", "end_time": "2025-01-01 01:00:00"}
  • cron_expression: Cron expression (mutually exclusive with filter_time_intervals)
  • filter_tags: Filter using tag names (mutually exclusive with filter_tag_pattern)
  • filter_tag_pattern: Filter using tag pattern (mutually exclusive with filter_tags)
  • filter_env: Filter using environment names (mutually exclusive with filter_env_pattern)
  • filter_env_pattern: Filter using environment pattern (mutually exclusive with filter_env)
  • filter_test_data: Filter using test data names (mutually exclusive with filter_test_data_pattern)
  • filter_test_data_pattern: Filter test data pattern (mutually exclusive with filter_test_data)
  • notification_channels: List of notification channel names

Returns

  • JSON string with created schedule details
Parameter Type
name str
is_active bool = True
filter_name_pattern str | None = None
filter_time_intervals dict[str, str] | None = None
cron_expression str | None = None
filter_tags list[str] | None = None
filter_tag_pattern str | None = None
filter_env list[str] | None = None
filter_env_pattern str | None = None
filter_test_data list[str] | None = None
filter_test_data_pattern str | None = None
notification_channels list[str] | None = None

create_test_run_group

Create and execute a new test run group in TestZeus.

manual=True makes every test a manual run assigned to the signed-in user, who is emailed. A person must carry it out in TestZeus; it never finishes on its own, so do not wait on it.

Parameter Type
name str
test_ids list[str] | None = None
environment str | None = None
tags list[str] | None = None
notification_channels list[str] | None = None
manual ManualRun = False

create_test_suite

Create a new test suite.

Parameter Type
name str
workflow_definition dict[str, Any]
default_inputs dict[str, Any] | None = None
input_schema list[dict[str, Any]] | None = None
execution_mode Literal["lenient", "strict"] = "lenient"
environment str | None = None
tags list[str] | None = None
notification_channels list[str] | None = None

create_test_suite_run

Create a new test suite run in lenient mode.

manual=True makes every test a manual run assigned to the signed-in user, who is emailed. A person must carry it out in TestZeus; it never finishes on its own, so do not wait on it.

Parameter Type
name str
test_suite str
input_values dict[str, Any] | None = None
environment str | None = None
notification_channels list[str] | None = None
manual ManualRun = False

create_test_suite_schedule

Create a new test suite schedule (cron-based).

Parameter Type
name str
test_suite str
cron_expression str
environment str | None = None
is_active bool = True
notification_channels list[str] | None = None
display_name str | None = None
input_values dict[str, Any] | None = None

delete_environment

Delete an environment by its 15-character ID or exact name.

The response identifies exactly which environment was deleted (name and ID).

Parameter Type
environment_id str

delete_hypermind_code_block

Delete a hypermind code block.

Parameter Type
code_block_id str

delete_notification_channel

Delete a notification channel.

Parameter Type
channel_id_or_name str

delete_tag

Delete a tag by its 15-character ID or exact name.

The response identifies exactly which tag was deleted (name and ID).

Parameter Type
tag_id str

delete_test

Delete a test (sets status to deleted).

Parameter Type
test_id_or_name str

delete_test_blocks_steps

Delete steps; the remaining steps are reconnected in order.

Parameter Type
test_id str
step_ids list[str]

delete_test_data

Delete a test data record by its 15-character ID or exact name.

The response identifies exactly which record was deleted (name and ID).

Parameter Type
test_data_id str

delete_test_report_run

Delete a test report run.

Parameter Type
report_id_or_name str

delete_test_report_schedule

Delete a test report schedule (sets status to deleted).

Parameter Type
schedule_id_or_name str

delete_test_run

Delete a test run.

Parameter Type
test_run_id str

delete_test_run_group

Delete a test run group (sets status to deleted).

Parameter Type
test_run_group_id_or_name str

delete_test_suite

Delete a test suite.

Parameter Type
test_suite_id_or_name str

delete_test_suite_schedule

Delete a test suite schedule.

Parameter Type
schedule_id str

dismiss_test_blocks_split

Keep a held step as one step on purpose (the builder's "keep as is").

Verify can then run it.

Parameter Type
test_id str
step_id str

download_test_report

Download a test report file.

Args

  • report_id_or_name: ID or name of the test report run
  • output_dir: Directory to save the downloaded file (default: "downloads")
  • format: Report format to download ("ctrf", "pdf", "csv", or "zip")

Returns

  • JSON string with download details
Parameter Type
report_id_or_name str
output_dir str = "downloads"
format str = "ctrf"

download_test_run_group_attachments

Download all attachments for all test runs in a test run group.

Parameter Type
test_run_group_id_or_name str
output_dir str = "downloads"

download_test_run_group_report

Download the report for a test run group.

Parameter Type
test_run_group_id_or_name str
output_dir str = "downloads"
format Literal["ctrf", "pdf", "csv", "zip"] = "pdf"

generate_adversary_pathways

Start an AI pathway-generation job for a Salesforce agent profile.

Parameter Type
agent_profile str
directional_prompt str
name str | None = None
agent_name str | None = None
num_pathways int | None = None
allow_destructive bool = False

generate_test

Generate Gherkin test case(s) from a natural-language prompt using the TestZeus AI generator.

Only when the user asks for Gherkin or Magic Test; a new test is a Test Blocks test (create_test_blocks).

Creates a tests_ai_generator record; with submit=True the platform runs generation.

Parameter Type
user_prompt str
test_feature str | None = None
environment str | None = None
test_data list[str] | None = None
num_of_testcases int | None = None
reasoning_effort Literal["low", "medium", "high"] = "medium"
submit bool = True

get_adversary_agent

Get details for a single Agent Harness agent by ID.

Parameter Type
agent_id str

get_adversary_run_status

Get status and results for an adversarial simulation run group.

Parameter Type
group_id str

get_connected_environment

Get a specific connected environment by ID or name.

Parameter Type
connected_env_id_or_name str

get_dependent_test_suites

Get test suites that reference a test.

Parameter Type
test_id str

get_device_pool_entry

Get a specific device from the pool by ID.

Parameter Type
device_id str

get_environment

Get a specific environment by ID or name.

Parameter Type
environment_id_or_name str

get_hypermind_code_block

Get a specific hypermind code block by ID or name.

Parameter Type
code_block_id_or_name str

get_knowledge_base

Get a specific knowledge base by ID or name.

Parameter Type
knowledge_base_id_or_name str

get_notification_channel

Get a specific notification channel by ID or name.

Parameter Type
channel_id_or_name str

get_salesforce_run_as_profiles

Get Salesforce user profiles for the Run-As-User (RBAC) picker.

Parameter Type
connection_id str

get_tag

Get a specific tag by its 15-character ID or exact name.

Parameter Type
tag_id str

get_test

Get a specific test by ID or name.

Parameter Type
test_id_or_name str

get_test_blocks

Get a Test Blocks test with its steps, validation, and builder_status.

Parameter Type
test_id str

get_test_blocks_run_status

Aggregated status of a Test Blocks live run, including dash steps and attachments.

Parameter Type
test_run_id str

get_test_data

Get a specific test data record by its 15-character ID or exact name.

Secret-typed values in the data content are masked in the output.

Parameter Type
test_data_id str

get_test_input_params

Get merged input params and defaults for a test.

Parameter Type
test_id str

get_test_report_run

Get a specific test report run by ID or name.

Parameter Type
report_id_or_name str

get_test_report_schedule

Get a specific test report schedule by ID or name.

Parameter Type
schedule_id_or_name str

get_test_run

Get a specific test run by ID.

Parameter Type
test_run_id str

get_test_run_group

Get a specific test run group by ID or name.

Parameter Type
test_run_group_id_or_name str

get_test_suite

Get a specific test suite by ID or name.

Parameter Type
test_suite_id_or_name str

get_test_suite_node_run

Get a specific test suite node run by ID.

Parameter Type
node_run_id str

get_test_suite_run

Get a specific test suite run by ID.

Parameter Type
test_suite_run_id str

get_test_suite_schedule

Get a specific test suite schedule by ID or name.

Parameter Type
schedule_id_or_name str

get_user_integration

Get a specific user integration by ID or name.

Parameter Type
integration_id_or_name str

list_adversary_agents

List agents available for adversarial (Agent Harness) testing.

Parameter Type
page int = 1
per_page int = 50
status str | None = None
search str | None = None

list_adversary_pathways

List adversarial test pathways, optionally scoped to a single agent.

Parameter Type
agent_id str | None = None
page int = 1
per_page int = 50

list_connected_environments

List all connected environments in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_device_pool

List available devices in the device pool.

Devices can be filtered by platform (android/ios), cloud_provider (browserstack/saucelabs/local), device_type (real/virtual), and is_active (true/false).

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_environments

List environments with pagination, sorting, and filtering.

Secret-typed values in data content are masked in the output.

Args

  • page: 1-based page number.
  • per_page: Items per page (max 100).
  • filters: Exact match: {"name": "staging"}. Partial match and other operators use the operator form: {"name": {"operator": "", "value": "stag"}}. Operators: =, !=, >, >=, <, <=, ~ (contains), ! (not contains). A list ORs values. Group with {"$and": [...]} / {"$or": [...]}.
  • sort: Field name to sort by; prefix with '-' for descending (e.g. "-created").
Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_hypermind_code_blocks

List all hypermind code blocks in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_knowledge_bases

List all knowledge bases in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_notification_channels

List all notification channels in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_tags

List tags with pagination, sorting, and filtering.

Args

  • page: 1-based page number.
  • per_page: Items per page (max 100).
  • filters: Exact match: {"name": "smoke"}. Partial match and other operators use the operator form: {"name": {"operator": "", "value": "smoke"}}. Operators: =, !=, >, >=, <, <=, ~ (contains), ! (not contains). A list ORs values: {"name": ["a", "b"]}. Group with {"$and": [...]} / {"$or": [...]}.
  • sort: Field name to sort by; prefix with '-' for descending (e.g. "-created").
Parameter Type
page int = 1
per_page int = 10
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_data

List test data with pagination, sorting, and filtering.

Secret-typed values in data content are masked in the output.

Args

  • page: 1-based page number.
  • per_page: Items per page (max 100).
  • filters: Exact match: {"name": "smoke-data"}. Partial match and other operators use the operator form: {"name": {"operator": "", "value": "smoke"}}. Operators: =, !=, >, >=, <, <=, ~ (contains), ! (not contains). A list ORs values. Group with {"$and": [...]} / {"$or": [...]}.
  • sort: Field name to sort by; prefix with '-' for descending (e.g. "-created").
Parameter Type
page int = 1
per_page int = 10
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_report_runs

List all test report runs in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_report_schedules

List all test report schedules in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_run_groups

List all test run groups in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_runs

List all test runs in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_suite_node_runs

List all test suite node runs in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_suite_runs

List all test suite runs in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_suite_schedules

List all test suite schedules in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_test_suites

List all test suites in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_tests

List all tests in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

list_user_integrations

List all user integrations in TestZeus.

Parameter Type
page int = 1
per_page int = 50
filters dict[str, Any] | None = None
sort str | list[str] | None = None

live_run_test_blocks

Start an official run of a saved, ready Test Blocks test.

Prefer this over run_test for Test Blocks. Pass key to make retries idempotent.

Parameter Type
test_id str
key str | None = None

pause_test_suite_run

Pause a running test suite run.

Parameter Type
test_suite_run_id str
mode Literal["graceful", "immediate"] = "graceful"
reason str | None = None

remove_all_environment_files

Remove all environment files.

Parameter Type
environment_id str

remove_all_hypermind_code_block_files

Remove all code files from a hypermind code block.

Parameter Type
code_block_id str

remove_all_test_data_files

Remove all test data files.

Parameter Type
test_data_id str

remove_environment_file

Remove a environment file.

file_path may be the stored file name, the original upload name, or a local path to the originally uploaded file.

Parameter Type
environment_id str
file_path str

remove_hypermind_code_block_file

Remove a code file from a hypermind code block.

Parameter Type
code_block_id str
file_path str

remove_notification_config

Remove a configuration from a notification channel.

Args

  • channel_id_or_name: ID or name of the notification channel
  • config_type: Type of configuration to remove ('webhook' or 'slack')

Returns

  • JSON string with updated channel details
Parameter Type
channel_id_or_name str
config_type str

remove_test_data_file

Remove a test data file.

file_path may be the stored file name, the original upload name, or a local path to the originally uploaded file.

Parameter Type
test_data_id str
file_path str

resume_test_suite_run

Resume a paused test suite run.

Parameter Type
test_suite_run_id str

run_adversary_simulation

Start an adversarial simulation run (creates a pathways group).

Parameter Type
agent_id str
pathway_ids list[str]
name str | None = None
agent_name str | None = None
run_as_profile str | None = None

run_test

Execute tests and start a test run group.

manual=True makes every test a manual run assigned to the signed-in user, who is emailed. A person must carry it out in TestZeus; it never finishes on its own, so do not wait on it.

Parameter Type
name str
test_ids list[str]
environment str | None = None
tags list[str] | None = None
notification_channels list[str] | None = None
manual ManualRun = False

save_test_blocks

Save the test. builder_status becomes ready only when every reachable step is verified.

Parameter Type
test_id str

update_connected_environment

Update a connected environment's name.

Only the name of a connected environment can be changed.

Parameter Type
connected_env_id str
name str

update_environment

Update an environment by its 15-character ID or exact name.

At least one field must be provided. device_type controls which fields are allowed / shown:

  • 'browser': supporting_data_files, connected_environments, email_manager (do not pass mobile_supporting_data_file or mobile_device)
  • 'mobile-android'/'mobile-ios': mobile_supporting_data_file, mobile_device (do not pass supporting_data_files or connected_environments)

mobile_device is a device_pool ID or device_name (use list_device_pool to discover). data_content is a JSON object (or JSON string) in the format: {"items": [{"key": "name", "value": "val", "type": "variable|secret"}]} agent_grounding_prompt is a JSON object with 'test_creation' and/or 'test_execution' string keys; keys not provided keep their current value.

Parameter Type
environment_id str
name str | None = None
device_type Literal["browser", "mobile-android", "mobile-ios"] | None = None
data_content dict[str, Any] | str | None = None
tags list[str] | None = None
supporting_data_files str | None = None
mobile_supporting_data_file str | None = None
mobile_device str | None = None
connected_environments list[str] | None = None
email_manager list[str] | None = None
source_code_integrations list[str] | None = None
agent_grounding_prompt dict[str, Any] | str | None = None

update_hypermind_code_block

Update a hypermind code block.

Parameter Type
code_block_id str
name str | None = None
tags list[str] | None = None

update_notification_channel

Update an existing notification channel.

Args

  • channel_id_or_name: ID or name of the notification channel to update
  • name: New name for the channel
  • emails: List of email addresses
  • webhooks: List of webhook URLs
  • is_active: Set as active/inactive
  • is_default: Set as default/non-default

Returns

  • JSON string with updated channel details
Parameter Type
channel_id_or_name str
name str | None = None
emails list[str] | None = None
webhooks list[str] | None = None
is_active bool | None = None
is_default bool | None = None

update_tag

Update a tag's name and/or value by its 15-character ID or exact name.

At least one of name or value must be provided. Pass value="" to clear the value.

Parameter Type
tag_id str
name str | None = None
value str | None = None

update_test

Update an existing test in TestZeus.

When testing_type is set to 'mobile', an environment reference is required.

Parameter Type
test_id_or_name str
name str | None = None
test_feature str | None = None
testing_type Literal["web", "mobile"] | None = None
test_data list[str] | None = None
tags list[str] | None = None
environment str | None = None
test_params dict[str, Any] | None = None
output_schema dict[str, Any] | None = None
execution_mode Literal["lenient", "strict"] | None = None

update_test_blocks_config

Change a Test Blocks test's environment, test data, knowledge bases, or step retry count.

Parameter Type
test_id str
environment str | None = None
environment_url_key str | None = None
test_data list[str] | None = None
knowledge_base_id list[str] | None = None
step_retry_count int | None = None

update_test_blocks_step

Edit a step. Changing source marks it unverified; verify again before saving.

assert_mode (hard or soft) makes the step a check with that mode; is_assert=false makes it an action again.

Parameter Type
test_id str
step_id str
instruction str | None = None
source str | None = None
label str | None = None
step_type Literal["browser", "mobile", "backend", "soql", "apex", "http"] | None = None
request dict[str, Any] | None = None
is_assert bool | None = None
target_org str | None = None
assert_mode Literal["hard", "soft"] | None = None

update_test_data

Update a test data record by its 15-character ID or exact name.

At least one field must be provided. content is a JSON object (or JSON string) in the format: {"items": [{"key": "name", "value": "val", "type": "variable|secret"}]} tags must be names of existing tags, or tag IDs. agent_grounding_prompt is a JSON object with 'test_creation' and/or 'test_execution' string keys; keys not provided keep their current value.

Parameter Type
test_data_id str
name str | None = None
content dict[str, Any] | str | None = None
tags list[str] | None = None
supporting_data_files str | None = None
agent_grounding_prompt dict[str, Any] | str | None = None

update_test_report_schedule

Update an existing test report schedule.

Args

  • schedule_id_or_name: ID or name of the test report schedule to update
  • name: New name for the schedule
  • is_active: Set as active/inactive
  • filter_name_pattern: Filter using TestRun name pattern
  • filter_time_intervals: Filter using time intervals (mutually exclusive with cron_expression)
  • cron_expression: Cron expression (mutually exclusive with filter_time_intervals)
  • filter_tags: Filter using tag names (mutually exclusive with filter_tag_pattern)
  • filter_tag_pattern: Filter using tag pattern (mutually exclusive with filter_tags)
  • filter_env: Filter using environment names (mutually exclusive with filter_env_pattern)
  • filter_env_pattern: Filter using environment pattern (mutually exclusive with filter_env)
  • filter_test_data: Filter using test data names (mutually exclusive with filter_test_data_pattern)
  • filter_test_data_pattern: Filter test data pattern (mutually exclusive with filter_test_data)
  • notification_channels: List of notification channel names

Returns

  • JSON string with updated schedule details
Parameter Type
schedule_id_or_name str
name str | None = None
is_active bool | None = None
filter_name_pattern str | None = None
filter_time_intervals dict[str, str] | None = None
cron_expression str | None = None
filter_tags list[str] | None = None
filter_tag_pattern str | None = None
filter_env list[str] | None = None
filter_env_pattern str | None = None
filter_test_data list[str] | None = None
filter_test_data_pattern str | None = None
notification_channels list[str] | None = None

update_test_suite

Update an existing test suite.

Parameter Type
test_suite_id_or_name str
name str | None = None
workflow_definition dict[str, Any] | None = None
default_inputs dict[str, Any] | None = None
input_schema list[dict[str, Any]] | None = None
execution_mode Literal["lenient", "strict"] | None = None
environment str | None = None
tags list[str] | None = None
notification_channels list[str] | None = None

update_test_suite_schedule

Update a test suite schedule.

Parameter Type
schedule_id str
name str | None = None
test_suite str | None = None
cron_expression str | None = None
environment str | None = None
is_active bool | None = None
notification_channels list[str] | None = None
display_name str | None = None
input_values dict[str, Any] | None = None

verify_test_blocks

Run steps in order so they can be saved.

The worker leases a browser when a browser step needs one. A failed step is listed in failed_steps with failure.headline (what went wrong) and recommendation (how to fix): fix it in plain English, then verify again.

Each plain-language browser step must be one action, as the builder requires. Steps are checked first; if any is more than one action nothing runs and the result is {"status": "split_review", "held_steps": [...]}, each with the suggested candidates. Resolve each with apply_test_blocks_split, a one-action rewording, or dismiss_test_blocks_split, then verify again. Default wait is 90s; use wait=false and poll get_test_blocks if the client times out sooner.

Parameter Type
test_id str
through_step_id str | None = None
wait bool = True
timeout int = 90