preview_fixes
Preview the exact unified diff that gha-doctor --fix would apply for auto-fixable findings, without modifying anything. Pass a GitHub repo or local directory to inspect the proposed changes before running the fix command.
Instructions
Preview the exact unified diff that gha-doctor --fix would apply for auto-fixable findings (10 of 21 rules), without writing anything. Pass repo for any GitHub repository (no clone needed) or dir for a local checkout. To actually apply fixes, run gha-doctor --fix in the repository — this MCP server never writes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preview_fixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Local repository directory (default ".") | |
| repo | No | Repository as owner/name (mutually exclusive with dir) |