Open Context Protocol is live! 🚀 Read the launch post

rebootInstances

Reboot instances

Details

  • Method: POST
  • Path: /instances/reboot
  • Operation ID: reboot-instances

Parameters

{
  "instance_ids": {
    "description": "The [Instance IDs](#operation/list-instances) to reboot.",
    "required": false,
    "location": "body",
    "type": "array"
  }
}

Usage

from ocp_agent import OCPAgent

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

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