Open Context Protocol is live! 🚀 Read the launch post

updateSshKey

Update SSH Key

Details

  • Method: PATCH
  • Path: /ssh-keys/{ssh-key-id}
  • Operation ID: update-ssh-key

Parameters

{
  "name": {
    "description": "The user-supplied name for this SSH Key.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "ssh_key": {
    "description": "The SSH Key.",
    "required": false,
    "location": "body",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('vultr')

# Call this tool
result = await agent.call_tool('updateSshKey', {
    # Add required parameters here
})