Delete a saved chat test
delete_chat_testRemove one of a site chat's saved tests (an id from get_chat_playbook chat_tests). Saved as a new version, so it can be brought back by restoring the previous version in Test & improve.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"test_id": "<test_id>"
},
"name": "delete_chat_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| test_id | Yes | The test, from get_chat_playbook `chat_tests[].id` | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| expected_version | No | The `version` get_chat_playbook returned. When given, the save is refused if someone saved since. |