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

createInstanceIpv4

Create IPv4

Details

  • Method: POST
  • Path: /instances/{instance-id}/ipv4
  • Operation ID: create-instance-ipv4

Parameters

{
  "reboot": {
    "description": "Set if the server is rebooted immediately after the IPv4 address is created.\n\n* true (default)\n* false",
    "required": false,
    "location": "body",
    "type": "boolean"
  }
}

Response Schema

{
  "type": "object",
  "properties": {}
}

Usage

from ocp_agent import OCPAgent

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

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