writing_patch
Apply an agent-supplied replacement to one unique anchor while enforcing protected-block and citation gates, ensuring gated, traceable manuscript edits.
Instructions
Apply an agent-supplied replacement for one unique anchor with all protected-block and citation gates enforced.
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": {
"workspace": "<workspace>",
"run_id": "<run_id>",
"target": "<target>",
"anchor": "<anchor>"
},
"name": "writing_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | Yes | ||
| run_id | Yes | ||
| target | Yes | ||
| workspace | Yes | ||
| replacement | No | ||
| instructions | No | ||
| source_sha256 | No | ||
| allow_line_range | No | ||
| replacement_path | No |