capability_install
Install a local skill, plugin, or project from a directory or ZIP using a preview-and-approve flow, then link it into the host's skill root so it loads immediately.
Instructions
Install a LOCAL skill/plugin/project from a directory or ZIP. Returns a preview unless approve=true. To approve, call once with approve=false, show the preview to the user, then call again with approve=true and approve_hash set to the returned source_hash. Remote fetch/install stays CLI-only.
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": {
"source": "<source>"
},
"name": "capability_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| force | No | ||
| source | Yes | ||
| approve | No | ||
| host_root | No | Override the host skill root used for linking. | |
| link_host | No | After a successful install, copy the skill into the current host's skill root so the host can load it immediately. Only skills are linked. | |
| approve_hash | No | source_hash from the preview call | |
| payload_only | No |