diff_guidance
Compares draft and final guidance section by section, identifying added, removed, modified, or unchanged sections and paragraph-level changes, then optionally saves the full diff as JSON.
Instructions
Section-aligned draft-vs-final diff. For each section: section_id, heading, status (added/removed/modified/unchanged), draft_text, final_text, paragraph_changes (incl. paragraphs moved between sections) and change_summary_stats. Refs as in get_guidance_text. write_to saves the full diff as JSON (relative paths resolve to the repo) and returns a summary.
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": {
"draft_ref": "<draft_ref>",
"final_ref": "<final_ref>"
},
"name": "diff_guidance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| write_to | No | ||
| draft_ref | Yes | ||
| final_ref | Yes | ||
| include_text | No |