Delete Skill Revision File
deleteSkillRevisionFileDelete a file from a skill revision. Deleting from a draft leaves the active revision untouched until the draft is promoted; deleting from the active revision changes what the skill runs immediately. SKILL.md can't be deleted. Historic revisions are read-only: create a draft from one to edit it.
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": {
"skill_revision_id": "<skill_revision_id>",
"path": "<path>"
},
"name": "deleteSkillRevisionFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the file inside the revision, e.g. scripts/helper.py. | |
| skill_revision_id | Yes | Skill revision ID. |