Test management
Test management
Section titled “Test management”This page is generated from the live QualityMax MCP registry. Examples use placeholders; replace them with values for your workspace.
check_ai_review_status
Section titled “check_ai_review_status”Purpose
Section titled “Purpose”Check a background AI review started by ai_review and return its result when complete.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
job_id |
string |
Yes | AI review job ID returned by ai_review |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "job_id": "your-job-id" }, "tool": "check_ai_review_status"}check_generation_status
Section titled “check_generation_status”Purpose
Section titled “Purpose”Check a background code-generation job started by generate_code_for_test_case. Worker-backed deployments return a job_id because generation can take minutes. Poll about every 30s until ‘completed’, ‘failed’, or ‘timed_out’. Personal Codex / Claude Code seats run one job at a time, so do not queue seat jobs in parallel.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
job_id |
string |
Yes | The job_id returned by generate_code_for_test_case |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "job_id": "your-job-id" }, "tool": "check_generation_status"}create_deploy_integration
Section titled “create_deploy_integration”Purpose
Section titled “Purpose”Create a deploy-provider webhook integration for a project. Auto-generates a webhook URL and secret. Returns the full secret (only shown once), the URL, and provider-specific setup instructions. One integration per provider per project.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | The QM project ID. |
provider |
string |
No | Deploy provider (default: vercel). |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "create_deploy_integration"}create_test_case
Section titled “create_test_case”Purpose
Section titled “Purpose”Create a test case in a project. If no steps are provided, detailed steps are auto-generated from the title/description (disable with auto_generate_steps=false).
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
title |
string |
Yes | No description supplied. |
description |
string |
No | No description supplied. |
detailed_instructions |
string |
No | No description supplied. |
steps |
array |
No | Explicit test steps; when omitted, steps are auto-generated |
auto_generate_steps |
boolean |
No | Auto-generate Detailed Steps via AI when no steps are provided |
priority |
value |
No | Priority: 1-5 (integer) or critical/high/medium/low (string) |
category |
string |
No | No description supplied. |
tags |
array |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1, "title": "your-title" }, "tool": "create_test_case"}delete_deploy_integration
Section titled “delete_deploy_integration”Purpose
Section titled “Purpose”Delete a deploy-provider webhook integration. The provider must be told to stop sending events afterwards — this only removes the QualityMax side.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | The QM project ID. |
integration_id |
integer |
Yes | The integration ID to delete. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "integration_id": 1, "project_id": 1 }, "tool": "delete_deploy_integration"}delete_project
Section titled “delete_project”Purpose
Section titled “Purpose”Delete a project. Requires ownership. This will also delete all associated test cases, scripts, and executions.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to delete |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "delete_project"}delete_script
Section titled “delete_script”Purpose
Section titled “Purpose”Delete an automation script. Requires ownership of the parent project.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
script_id |
integer |
Yes | Automation script ID to delete |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "script_id": 1 }, "tool": "delete_script"}delete_test_case
Section titled “delete_test_case”Purpose
Section titled “Purpose”Delete a test case. Requires ownership of the parent project.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
test_case_id |
integer |
Yes | Test case ID to delete |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "test_case_id": 1 }, "tool": "delete_test_case"}enhance_test_case
Section titled “enhance_test_case”Purpose
Section titled “Purpose”Enhance a test case with AI — adds more detailed steps, verification points, and improves the description.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
test_case_id |
integer |
Yes | Test case ID to enhance |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "test_case_id": 1 }, "tool": "enhance_test_case"}get_discovery_graph
Section titled “get_discovery_graph”Purpose
Section titled “Purpose”Return the repository’s evidence-grounded discovery graph: a lineage of repository → evidence → test areas → test cases → automation scripts, with grounding status and confidence per node. Use to audit test coverage lineage.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
repo_id |
string |
Yes | Repository ID |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "repo_id": "your-repo-id" }, "tool": "get_discovery_graph"}get_project_agent_instructions
Section titled “get_project_agent_instructions”Purpose
Section titled “Purpose”Get project-specific instructions for testing changing preview/staging URLs using QualityMax MCP. Returns a copyable prompt, installable SKILL.md, revision, and allowlisted saved project facts. Read-only; does not select a deployment, change settings, or prove script portability/access. Use run_tests.base_url for the exact deployment after checking hardcoded URLs.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Existing project ID |
workflow |
string |
No | Agent workflow to retrieve |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "get_project_agent_instructions"}get_project_memory
Section titled “get_project_memory”Purpose
Section titled “Purpose”Return compact durable memory from prior MCP agent negotiations, project learnings, and verified test runs. Call this before generating or repairing tests for an existing project; then call get_script only for the most relevant verified script to keep context and cost low.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project whose memory should be recalled |
test_case_id |
integer |
No | Optional test case filter for the most relevant verified runs |
limit |
integer |
No | Maximum verified scripts and MCP sessions to return (max 20). Additive reuse fields include grounded learnings, ranked session sequences, graph traversal, and provenance. |
query |
string |
No | Optional bounded task query used to recall relevant semantic learnings and agent episodes. |
intent |
string |
No | Optional recall intent. Valid only with query. |
downstream_reuse |
boolean |
No | Optional client-reported outcome for a previously recalled memory; used only for aggregate telemetry. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "get_project_memory"}get_project_summary
Section titled “get_project_summary”Purpose
Section titled “Purpose”Get a summary of a project including counts of test cases, scripts, and executions. Use this when the user asks ‘what’s in my project?’ or ‘show me project stats’.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to get summary for |
fields |
array |
No | Optional subset to return: last_activity, project, statistics. Omit for everything. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "get_project_summary"}get_repository
Section titled “get_repository”Purpose
Section titled “Purpose”Get repository details and stored analysis
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
repo_id |
integer |
Yes | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "repo_id": 1 }, "tool": "get_repository"}get_script
Section titled “get_script”Purpose
Section titled “Purpose”Get an automation script’s details including the generated Playwright/Cypress test code. Pass if_version_matches with the version from a previous read to get a cheap not_modified answer, and fields to fetch only what you need.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
script_id |
integer |
Yes | Automation script ID |
fields |
array |
No | Optional subset of script fields to return: code, created_at, framework, id, name, project_id, test_case_id, version. Omit for the full record. |
if_version_matches |
string |
No | Version from a previous get_script/update_script. If the code is unchanged, the tool returns not_modified instead of the code. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "script_id": 1 }, "tool": "get_script"}get_test_capabilities
Section titled “get_test_capabilities”Purpose
Section titled “Purpose”Start here before generating or running tests. Returns the frameworks, code-generation services, execution services, best-fit recommendation, and an autonomous QA loop. For a testing request, follow that loop proactively, strongly suggest the next highest-risk gap, and continue without waiting between safe steps until its stop conditions are met. Includes discovery for project-specific preview-testing agent instructions.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project to plan and test |
test_case_id |
integer |
No | Optional test case used to refine the framework recommendation |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "get_test_capabilities"}get_test_case
Section titled “get_test_case”Purpose
Section titled “Purpose”Get detailed information about a specific test case including its description, steps, and related automation scripts. Pass if_version_matches to skip the body when nothing changed, and fields to fetch only what you need.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
test_case_id |
integer |
Yes | Test case ID to get details for |
fields |
array |
No | Optional subset of test-case fields to return: category, description, detailed_instructions, id, preconditions, priority, project_id, status, steps, tags, title, version. Omit for the full record. |
if_version_matches |
string |
No | Version from a previous get_test_case. If the case is unchanged, the tool returns not_modified instead of the full record. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "test_case_id": 1 }, "tool": "get_test_case"}import_from_testrail
Section titled “import_from_testrail”Purpose
Section titled “Purpose”Import test cases from TestRail into a project (requires saved TestRail credentials)
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
testrail_project_id |
integer |
Yes | No description supplied. |
testrail_suite_id |
integer |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1, "testrail_project_id": 1 }, "tool": "import_from_testrail"}import_repository
Section titled “import_repository”Purpose
Section titled “Purpose”Import and analyze a GitHub repository for testing. Creates a default project if none specified.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
repo_url |
string |
Yes | GitHub repository URL (e.g., https://github.com/user/repo) |
branch |
string |
No | Branch to analyze (defaults to main) |
project_id |
integer |
No | Existing project ID to associate repository with |
create_project |
boolean |
No | Create a new project for this repository |
project_name |
string |
No | Name for new project (required if create_project is true) |
training_consent |
string |
No | Whether repository code can be used for training (default: opt_out) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "repo_url": "https://example.com" }, "tool": "import_repository"}import_test_cases_from_document
Section titled “import_test_cases_from_document”Purpose
Section titled “Purpose”Import test cases from document text content. The AI will analyze the text and extract test cases automatically.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
text_content |
string |
Yes | Document text content to extract test cases from |
source_name |
string |
No | Optional name for the document source (e.g., ‘Requirements Document’, ‘Test Plan v2.0’) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1, "text_content": "your-text-content" }, "tool": "import_test_cases_from_document"}list_ai_crawl_jobs
Section titled “list_ai_crawl_jobs”Purpose
Section titled “Purpose”List AI crawl jobs for a project, ordered by most recent first.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to list crawl jobs for |
limit |
integer |
No | Maximum number of jobs to return (default: 20) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_ai_crawl_jobs"}list_auth_profiles
Section titled “list_auth_profiles”Purpose
Section titled “Purpose”List secret-free authentication profile metadata for a project. Use the returned profile id in run_tests or apply_patch_and_run; never ask the user to paste credentials into a prompt or script.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_auth_profiles"}list_deploy_integrations
Section titled “list_deploy_integrations”Purpose
Section titled “Purpose”List deploy-provider webhooks (Vercel, Netlify, manual) configured for a project. Read-only. The webhook_secret is masked in the response.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | The QM project ID. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_deploy_integrations"}list_projects
Section titled “list_projects”Purpose
Section titled “Purpose”List projects for the current user, including each project’s vanity URL slug and project type (web or native_mobile). ALWAYS call this before creating a new project to check if a similar project already exists.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer |
No | No description supplied. |
offset |
integer |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": {}, "tool": "list_projects"}list_repositories
Section titled “list_repositories”Purpose
Section titled “Purpose”List repositories for a project
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
limit |
integer |
No | No description supplied. |
offset |
integer |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_repositories"}list_scripts
Section titled “list_scripts”Purpose
Section titled “Purpose”List automation scripts for a project or test case. Returns script names and IDs (use get_script to view the code).
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to list scripts for |
test_case_id |
integer |
No | Optional: filter scripts by test case ID |
limit |
integer |
No | No description supplied. |
offset |
integer |
No | Skip this many scripts; use next_offset from a previous page |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_scripts"}list_test_cases
Section titled “list_test_cases”Purpose
Section titled “Purpose”List test cases for a project
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
limit |
integer |
No | No description supplied. |
offset |
integer |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "list_test_cases"}refresh_repository
Section titled “refresh_repository”Purpose
Section titled “Purpose”Refresh an existing repository analysis at its latest commit. Private repositories reuse the stored GitHub App connection.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
repo_id |
integer |
Yes | No description supplied. |
branch |
string |
No | Optional branch override |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "repo_id": 1 }, "tool": "refresh_repository"}search_test_cases
Section titled “search_test_cases”Purpose
Section titled “Purpose”Search for test cases by title, description, or tags. Better than listing all test cases when looking for something specific.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to search in |
query |
string |
Yes | Search query (searches in title, description, and tags) |
category |
string |
No | Filter by category (optional) |
status |
string |
No | Filter by status (optional) |
limit |
integer |
No | Maximum number of results |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1, "query": "your-query" }, "tool": "search_test_cases"}test_deploy_integration
Section titled “test_deploy_integration”Purpose
Section titled “Purpose”Record a test-ping against a deploy integration to mark it active without waiting for a real deploy. Useful to confirm the integration is wired up after pasting the webhook into Vercel/Netlify.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | The QM project ID. |
integration_id |
integer |
Yes | The integration ID to ping. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "integration_id": 1, "project_id": 1 }, "tool": "test_deploy_integration"}update_project
Section titled “update_project”Purpose
Section titled “Purpose”Update an existing project (e.g., set main_url for AI crawl)
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | No description supplied. |
name |
string |
No | No description supplied. |
description |
string |
No | No description supplied. |
main_url |
string |
No | No description supplied. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "update_project"}update_project_pipeline_gates
Section titled “update_project_pipeline_gates”Purpose
Section titled “Purpose”Toggle PR-pipeline gate flags on a project. Gates live in project.test_frameworks and control which checks run on each pull request. Only the known gate keys are accepted; all other settings (model config, etc.) are preserved. Pass a gate as true/false. Credit-spending gates (ai_review, sast, bola) default OFF when absent; the rest default ON.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | The QM project ID. |
gates |
object |
Yes | Map of gate key to boolean. Recognized keys: _pipeline_run_tests, _pipeline_run_beta, _pipeline_run_ai_review, _pipeline_run_sast, _pipeline_run_sast_verify, _pipeline_run_sast_fixes, _pipeline_run_bola, _pipeline_run_tech_debt. Example: {“_pipeline_run_beta”: true} |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "gates": {}, "project_id": 1 }, "tool": "update_project_pipeline_gates"}update_script
Section titled “update_script”Purpose
Section titled “Purpose”Update an automation script’s name or code. Prefer patch over code: it sends only the lines you are changing instead of re-uploading the whole script, which is the single largest token saving available on this server.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
script_id |
integer |
Yes | Automation script ID to update |
name |
string |
No | New script name (optional) |
code |
string |
No | Full replacement code (optional; prefer patch) |
patch |
array |
No | Anchored edits applied in order. Each old_string must appear exactly once unless replace_all is true; an ambiguous or missing anchor is rejected rather than guessed. Cannot be combined with code. |
expected_version |
string |
No | Version string from a previous get_script/update_script. When supplied, the update is rejected if the script changed in the meantime. |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "script_id": 1 }, "tool": "update_script"}update_test_case
Section titled “update_test_case”Purpose
Section titled “Purpose”Update an existing test case’s fields (title, description, steps, expected result, category, priority). Pass steps as an array of {step, expected} to replace the structured steps — that is the field automation reads, and the only way to add a mobile selector (resource_id, or the target’s visible text in quotes) to a native test case. A plain string is stored as free-text detailed instructions instead, which no generator reads as steps.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
test_case_id |
integer |
Yes | Test case ID to update |
title |
string |
No | New title (optional) |
description |
string |
No | New description (optional) |
steps |
value |
No | Structured steps to replace the existing ones, or a plain string stored as detailed instructions. |
expected_result |
string |
No | New expected result (optional) |
category |
string |
No | New category (optional) |
priority |
value |
No | Priority: 1-5 (integer) or critical/high/medium/low (string) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "test_case_id": 1 }, "tool": "update_test_case"}