Open Context Protocol is live! 🚀 Read the launch post
attachReservedIp

attachReservedIp

Attach Reserved IP

Details

  • Method: POST
  • Path: /reserved-ips/{reserved-ip}/attach
  • Operation ID: attach-reserved-ip

Parameters

{
  "instance_id": {
    "description": "Attach the Reserved IP to a [Compute Instance id](#operation/list-instances) or a [Bare Metal Instance id](#operation/list-baremetals).",
    "required": true,
    "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('attachReservedIp', {
    # Add required parameters here
})