restore_test_version

Restore a test to a previous version.

Restore a test to a previous version.

Destructive · Writes data · Idempotent · Calls external systems. This tool can modify or delete data. Review the arguments before letting an agent call it.

Parameters

FieldTypeRequiredDescription
history_idnumberYesHistory version ID to restore (from list_test_versions)

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "history_id": 0
}

Description

DESTRUCTIVE — overwrites current test definition. Use list_test_versions to find the history_id. Counts against the per-test edit budget.

What's next?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on