edit_adr
Replace the content of a specific section in an Architecture Decision Record (ADR) by providing the project, ADR number or filename, and section heading. Excludes the Status section, which requires a dedicated status-update tool.
Instructions
Replace a single named top-level (##) section of one ADR. Rejects the 'Status' section — use update_adr_status for status transitions instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The section's new body, excluding the heading line. | |
| section | Yes | Exact ## heading text, without the ## marker. | |
| auto_reindex | No | When true, automatically re-run `index_project_context` after the write and include its result. When false (default), the response includes a manual-reindex reminder. | |
| project_path | Yes | Absolute filesystem path, a short 'owner/repo' identifier, or a full https:// repository URL. | |
| number_or_filename | Yes | The ADR's number (e.g. 12), short form (e.g. 'ADR-00012', case-insensitive), or exact filename/path (e.g. 'ADR-00012-topic.md'). |