github_mcp.plan_changes
Declare or update intended file changes for an editable job before modifying files, mapping each path to a conventional commit subject.
Instructions
Declare or update intended file changes for an editable job before writing, patching or deleting files. Maps each path to its conventional commit subject. Returns job ID and sorted planned paths. Invalidates preview fingerprint and check results; does not edit files or create commits.
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>",
"messages": "<messages>"
},
"name": "github_mcp.plan_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Existing editable job identifier returned by create_job. | |
| messages | Yes | Object mapping repository-relative paths to conventional commit subjects, e.g. {"src/app.py":"fix: handle timeout"}. Subjects must use a supported type and 3–120 character message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |