instance_add_key
Uploads your SSH public key to your account so SSH access works for GPU instances created afterward. Run once before first SSH use; only applies to new instances in local mode.
Instructions
上传 SSH 公钥到账户(仅本地模式有意义;首次用 SSH 前执行)。 identity_file 为私钥路径(默认 ~/.ssh/id_ed25519,CLI 只上传公钥;无密钥时 CLI 会引导生成)。 公钥只对上传之后创建的实例生效。托管模式请改用 SSH_PRIVATE_KEY 注入既有私钥。
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": "instance_add_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identity_file | No |