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

getInstanceUserdata

Get Instance User Data

Details

  • Method: GET
  • Path: /instances/{instance-id}/user-data
  • Operation ID: get-instance-userdata

Parameters

{}

Response Schema

{
  "type": "object",
  "properties": {
    "user_data": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string",
          "description": "The user-supplied, base64 encoded [user data](https://www.vultr.com/docs/manage-instance-user-data-with-the-vultr-metadata-api/) attached to this instance."
        }
      }
    }
  }
}

Usage

from ocp_agent import OCPAgent

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

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