adr_accept
Convert a decision.md attachment into an official ADR with automatic next number, frontmatter copy, and flow link. Idempotent: re-running returns the existing ADR.
Instructions
Accept a decision.md flow-attachment as an official ADR. Auto-assigns the next ADR number for this project, copies frontmatter, links back to the flow. Idempotent: re-calling with the same attachmentId returns the existing ADR.
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": {
"attachmentId": "<attachmentId>"
},
"name": "adr_accept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Optional override (default: accepted) | |
| projectId | No | ||
| attachmentId | Yes | ID of the decision.md attachment | |
| supersedesId | No | Optional — ID of an ADR this one supersedes |