generate_ssh_key
Generate a new ed25519 SSH keypair for the user, server-side. Returns the PUBLIC key (register it with the git host, e.g. as a Gitea deploy key or a GitHub account key) plus the key_id needed to bind it via attach_git_remote. The private key is encrypted at rest and is never returned on any channel — there is no private-key paste step at all.
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": {
"label": "<label>"
},
"name": "generate_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |