registry_install
Downloads, verifies, and validates a protocol from a remote index, then caches it so it becomes available to listing and identification tools on the next call.
Instructions
Install one protocol from a remote index into the user cache.
Downloads the JSON payload, verifies the SHA-256 checksum if present,
validates the schema, and drops it into user_cache_dir. The new
protocol becomes visible to registry_list and scan_and_identify
on the next call.
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": {
"index_url": "<index_url>",
"protocol_id": "<protocol_id>"
},
"name": "registry_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_url | Yes | ||
| protocol_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| installed | Yes | ||
| source_index | Yes | ||
| sha256_verified | Yes |