github_mcp.get_diff
Inspect an existing job's Git diff against its base commit without modifying the workspace; returns redacted diff text and a truncation flag.
Instructions
Inspect the existing job's Git diff against its base commit without modifying the workspace. Returns redacted diff text capped at 100,000 characters and a truncation flag. Use preview_job for approval fingerprints and per-file previews.
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": {
"job_id": "<job_id>"
},
"name": "github_mcp.get_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Existing job identifier returned by create_job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |