Update Skill Revision File
updateSkillRevisionFileWrite a text file into a skill revision. Writing into a draft leaves the active revision untouched until the draft is promoted; writing into the active revision changes what the skill runs immediately. 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>",
"content": "<content>"
},
"name": "updateSkillRevisionFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the file inside the revision, e.g. SKILL.md. | |
| content | Yes | New UTF-8 text content for the file. | |
| skill_revision_id | Yes | Skill revision ID. |