Get ADR
get_adrRead, parse, and return a full ADR document by ID, including frontmatter and body. Validates the ID to prevent path injection.
Instructions
Read, parse, and return a full ADR document (frontmatter and body) by its id. An invalid id (path-injection attempt or wrong format) is a ValueError raised before any file access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| frontmatter | Yes |