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

attachInstanceVpc

Attach VPC to Instance

Details

  • Method: POST
  • Path: /instances/{instance-id}/vpcs/attach
  • Operation ID: attach-instance-vpc

Parameters

{
  "vpc_id": {
    "description": "The [VPC ID](#operation/list-vpcs) to attach to this Instance.",
    "required": false,
    "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('attachInstanceVpc', {
    # Add required parameters here
})