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

getBareMetalUserdata

Get Bare Metal User Data

Details

  • Method: GET
  • Path: /bare-metals/{baremetal-id}/user-data
  • Operation ID: get-bare-metal-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 bare metal."
        }
      }
    }
  }
}

Usage

from ocp_agent import OCPAgent

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

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