Edit Skill
edit_skillChange a skill's files, merged into its latest saved package. Personal skills publish at once; other changes save as a draft unless publish=true, which also publishes an unchanged draft. Organization skills can't be published here. Returns the new version.
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_id": "<skill_id>",
"expected_version": "<expected_version>"
},
"name": "edit_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to add or replace, by path; a null value removes that file. | |
| publish | No | Also publish; with no files, publishes the current draft. | |
| skill_id | Yes | The skill_id from list_skills or create_skill, or an organization, team or personal skill's name. | |
| expected_version | Yes | The version from read_skill(draft=true) or your last edit; a stale one fails instead of overwriting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name. | |
| files | Yes | All file paths in the skill. | |
| scope | Yes | global (organization), personal, team or project. | |
| status | Yes | draft, published or withdrawn. | |
| notices | No | Venom reminders to read first. | |
| version | Yes | Version for edit_skill expected_version. | |
| revision | No | Published revision. | |
| scope_id | No | Team or project ID for team/project skills. | |
| skill_id | Yes | Skill ID for read_skill or edit_skill. | |
| has_unpublished_changes | Yes | True if saved changes await publishing. |