manage_gpg_keys
Add or delete GPG keys for the authenticated Bitbucket Server user.
Instructions
Manage GPG keys for the authenticated user. Actions: "add" (add a key), "delete" (remove a key).
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": {
"action": "<action>"
},
"name": "manage_gpg_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | GPG public key text (required for add). | |
| keyId | No | Key ID (required for delete). | |
| action | Yes | Operation to perform. |