Report test results
report_test_resultsReport results of tests YOU executed yourself (your own browser/Playwright, curl/HTTP checks, a manual click-through, a CI job) - not run by run_tests. Every test you execute for a project must be reported here, pass or fail. One call can report several tests. Each result needs test_id (create the test first with manage_test if it does not exist yet) and result pass|warn|fail|error|timeout; optional summary, steps (what you did and saw), metrics, started_at/finished_at (ISO), artifacts [{kind: screenshot|video|replay|log|report, url | bytes_b64, mime_type, file_name}]. Stores a finished run (source 'external', executor = who ran it) and updates the test's traffic light unless a newer run exists.
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": {
"results": "<results>"
},
"name": "report_test_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | One entry per executed test | |
| executor | No | Who/what executed the tests, e.g. 'Claude Code, Playwright headless' | |
| target_commit | No | Git commit under test | |
| environment_id | No | Environment the tests ran against (manage_test_environment) | |
| target_version | No | Software version under test |