save_test_result
Record test outcomes for a project and link them to the active task. Pass or fail results are saved as memories, with re-runs updating existing entries to keep a living record of test suite status.
Instructions
Save a test result memory for a project, linked to the current active task.
Call this after running tests — pass or fail — to record the outcome. Saves a memory with category='test_result' and links it to the most recent active task. Re-running with the same test_suite name updates the existing memory (living document).
USAGE:
After a passing test run: save_test_result({ project_name, passed: true, test_suite })
After a failing run: save_test_result({ ..., passed: false, failure_details: "..." })
RETURNS:
memory_id — UUID of the saved test result memory
status — "PASSED" or "FAILED"
linked_task — the active task this result is associated with (if any)
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": {
"project_name": "<project_name>",
"passed": "<passed>",
"test_suite": "<test_suite>"
},
"name": "save_test_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passed | Yes | Whether the test suite passed | |
| test_suite | Yes | Name of the test suite (e.g. "get_next_task e2e") | |
| project_name | Yes | The project name (e.g. "purmemo") | |
| failure_details | No | Details about what failed — only include when passed=false |