Open Context Protocol is live! 🚀 Read the launch post

haltInstances

Halt Instances

Details

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

Parameters

{
  "instance_ids": {
    "description": "The [Instance IDs](#operation/list-instances) to halt.",
    "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('haltInstances', {
    # Add required parameters here
})