Share a skill for the user
shareSend a skill the user made to the directory for review, or a new version of a skill they shared. It needs the user's key and the display name they picked. It takes two calls and one upload. Call it first with no arguments: it answers the sharing agreement, the business areas and the products to pick from, and each field's bounds. Show the user the agreement and go on only when the user says yes to it. Then call it with agreement and details: it checks them and answers a one-time address. Send the skill's folder to that address yourself as one zip, with an HTTP PUT, within 15 minutes. The zip holds SKILL.md at its top, or one folder with SKILL.md at that folder's top. Nothing of the files rides in a tool call. The skill is listed only after Workotron reviews and approves it.
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": "share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| details | No | What the listing says of the skill. The first answer gives each field's bounds and the ids to pick from. | |
| replaces | No | The address of the user's own listed skill this is a new version of. Absent for a new skill. | |
| agreement | No | The id of the sharing agreement the user said yes to, from this tool's first answer. Absent on the first call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||