Get TestDino Audit (context / list / report)
get_audit_reportFetch TestDino Playwright audit prompts, branch signals, or saved reports by action: context to start an audit, list to browse reports, get to retrieve one.
Instructions
Read-only TestDino Playwright audit reads. Three modes via action: action='context' fetches the server-curated audit prompt + branch signals 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 using the returned prompt + signals and write findings to a local markdown file (e.g. TEST-AUDIT.md) → (3) submit_audit_report(...) to save the completed 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' (fetch audit prompt + 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) | |
| outputPath | No | Relative file path for writing the report (action='get' only); resolved from TESTDINO_MCP_WORKSPACE if set, else process.cwd(). Defaults to TEST-AUDIT.md. | |
| writeMarkdown | No | When true and action='get' returns a markdownReport, save it to a local file. Ignored for context/list. |