ado_record_test_result
WHEN: a manual test case of an Azure DevOps test plan has been run (by you through the ERP tools, or reported by the user) and its result must be recorded, so the plan shows what passed and what failed. Triggers: 'record the result', 'mark the test passed', 'enregistre le résultat du test', 'set the test outcome'. Needs the plan id and suite id (the ones ado_create_test_plan returned) and the test case id. outcome is Passed, Failed, Blocked or NotApplicable. Pass evidence (what was done and what was observed, no personal data): it is added as a comment on the test case, which is the audit trail. SAFE BY DEFAULT: confirm=false only shows what would be recorded. Call again with confirm=true after the user agreed. Never record Passed for something that was not verified. Needs a PAT with Test Management (Read & write) and Work Items (Read & write).
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": {
"planId": "<planId>",
"suiteId": "<suiteId>",
"testCaseId": "<testCaseId>",
"outcome": "<outcome>"
},
"name": "ado_record_test_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Test plan id. | |
| confirm | No | false (default): preview only. true: record. | |
| outcome | Yes | Passed, Failed, Blocked or NotApplicable. | |
| project | No | Azure DevOps project. Falls back to DEVOPS_PROJECT. | |
| suiteId | Yes | Test suite id inside the plan. | |
| evidence | No | What was done and what was observed. Added as a comment on the test case. | |
| testCaseId | Yes | Id of the Test Case work item. |