Publish skill
publish_skillSave a skill for the whole team: a folder with a SKILL.md, whose front matter has a name and a description saying when to use it, and any files it uses. Every member's agent then sees the skill listed in these instructions and fetches it with get_skill. Pass the folder the way deploy_project takes an app: upload_id from create_upload, or files inline. Publishing a skill of the same name replaces it with the next version; only the member who published it, or a team admin, may replace it. Only for a session signed in for a team.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | the skill folder's files as an array of {path, content}, SKILL.md among them. Required unless upload_id is set | |
| upload_id | No | instead of files: the upload_id from create_upload, once its command has uploaded the skill's folder |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | Yes | ||
| files | Yes | ||
| version | Yes | ||
| description | Yes |