Rename feature id
set_feat_idRename a feature ID by validating the new feat-NNN-slug, renaming its folder, and rewriting README frontmatter; it refuses if the target folder already exists.
Instructions
Rename an existing feature's id: validates new_id's feat-NNN-slug shape, refuses if new_id's folder already exists, renames // to /<new_id>/, rewrites the README frontmatter id to new_id, bumps updated, and leaves the body byte-identical. Does not update or search for references to the old id in any other document. Returns the renamed document's frontmatter only (no body); use the corresponding get_feat tool to fetch the full document afterward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| new_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| type | No | feat | |
| status | No | planning | |
| created | No | ||
| updated | No | ||
| version | No | 1.0.0 | |
| classification | No |