Skills

Rename a skill file

Changed on

Changes a file's path within a skill's bundle. The file content is unchanged. SKILL.md cannot be renamed.

post/v2/skills/{skill_id}/files/rename

Request

Path parameters

skill_idstring required

Skill ID or display name to update.

Request body

old_pathstring required

Current relative path of the file within the skill bundle.

new_pathstring required

New relative path for the file within the skill bundle, including any subdirectory components (e.g. "scripts/extract.py").

Response

OK

Changes