Apply doc patches
apply_doc_patchesApply proposed documentation patches to a local repository, returning unified diffs in dry-run mode and writing files only when dryRun=false.
Instructions
Apply proposed documentation patches to a local checkout. Defaults to dryRun=true and returns unified diffs. Set dryRun=false to write files.
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": {
"path": "<path>"
},
"name": "apply_doc_patches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local path to the repository root (writes only work locally) | |
| dryRun | No | When true (default), only return unified diffs without writing | |
| runAuditFirst | No | Re-run a full audit to collect patches before applying |