haops_get_role_template_history
Audit role template changes over time and recover from bad publishes by retrieving full version history, including diffs between consecutive versions.
Instructions
Returns the full version history of a named role template (GET /api/role-templates/[name]/history). Role templates are system-wide (no scope/projectSlug). Each entry contains version, publication timestamp, author, lifecycle state, and the full baseBody markdown. When diff=true the server computes unified diffs between consecutive versions and includes a diff field per entry.
Use to audit template content over time, recover from a bad publish, or inspect changes before bumping a template with cascade=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw JSON array verbatim instead of the formatted text table (default: false). | |
| diff | No | When true, the server computes unified diffs between consecutive versions and includes a `diff` field on each history entry. | |
| name | Yes | Kebab-case role template name. |