Open Context Protocol is live! 🚀 Read the launch post

getBareMetalVnc

Get VNC URL for a Bare Metal

Details

  • Method: GET
  • Path: /bare-metals/{baremetal-id}/vnc
  • Operation ID: get-bare-metal-vnc

Parameters

{}

Response Schema

{
  "type": "object",
  "properties": {
    "vnc": {
      "type": "object",
      "description": "This object will contain the VNC URL for the Bare Metal Instance",
      "properties": {
        "url": {
          "type": "string",
          "description": "This is the VNC URL for the Bare Metal Instance"
        }
      }
    }
  }
}

Usage

from ocp_agent import OCPAgent

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

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