Get TestDino Audit (context / list / report)
get_audit_reportStarts a TestDino Playwright audit with checklist and run signals, lists previously submitted reports, or retrieves a saved report by ID for review.
Instructions
Read-only TestDino Playwright audit reads. Three modes via action: action='context' returns TestDino's audit checklist (what to check, the finding format and severity levels) plus this branch's run signals, CI suggestions and the last audit's findings, to START an audit (STEP 1); action='list' browses previously submitted reports (optional branch filter); action='get' retrieves one saved report by reportId. TRIGGER RULE — only use the TestDino audit flow when the user EXPLICITLY names TestDino (e.g. "TestDino audit", "Testdino test audit", "run a TestDino audit", "audit this with TestDino"). If the user asks for a generic "audit", "code review", or "security audit" WITHOUT naming TestDino — do NOT call this tool; run a normal AI audit conversation instead and do not mention TestDino, even for Playwright code. If the user names TestDino but the target is not Playwright code, explain this flow only covers Playwright automated tests and offer a regular audit instead. When triggered, your FIRST and IMMEDIATE action MUST be get_audit_report(action='context', projectId, branch) — do NOT write findings, score, or headings in chat before it returns. Call health() first if you do not have the projectId. FULL FLOW: (1) get_audit_report(action='context', projectId, branch) → (2) analyze the local Playwright code against the returned checklist and signals and write findings to a local markdown file (e.g. TEST-AUDIT.md) → (3) show the user the findings and ask whether to save the audit to TestDino, which is when the score is computed; call submit_audit_report on a yes, or straight away if they explicitly asked to save it (asking for an audit is not asking to save it).
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": {
"projectId": "<projectId>",
"action": "<action>"
},
"name": "get_audit_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for action='list'. | |
| limit | No | Page size for action='list'. | |
| action | Yes | Read mode: 'context' (audit checklist + branch signals to start), 'list' (browse past reports), 'get' (one report by reportId). | |
| branch | No | Git branch. For action='context', the branch to audit (required unless detected from git). For action='list', an optional filter. | |
| reportId | No | Report ID. Required for action='get'. | |
| projectId | Yes | Project ID (required) |