Store a private registry credential
save_sandbox_registryStore (or replace) the credential for a registry host. The platform attaches it to sandbox requests for that host only; it never enters a sandbox and is never returned.
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": {
"host": "<host>",
"scheme": "<scheme>",
"secret": "<secret>"
},
"name": "save_sandbox_registry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Registry host or URL, e.g. npm.pkg.github.com | |
| scheme | Yes | How the registry takes the credential: 'bearer' sends secret as a token, 'basic' sends username and secret | |
| secret | Yes | Token or password | |
| username | No | Required for basic |