getInstanceNeighbors
Get Instance neighbors
Details
- Method:
GET - Path:
/instances/{instance-id}/neighbors - Operation ID:
get-instance-neighbors
Parameters
{}Response Schema
{
"type": "object",
"properties": {
"neighbors": {
"type": "array",
"description": "An array of [Instance ids](#operation/list-instances) in the same location as this Instance.",
"items": {
"type": "string"
}
}
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('getInstanceNeighbors', {
# Add required parameters here
})