Open Context Protocol is live! 🚀 Read the launch post

createWhiteboard

Create whiteboard

Details

  • Method: POST
  • Path: /whiteboards
  • Operation ID: createWhiteboard

Parameters

{
  "private": {
    "description": "The whiteboard will be private. Only the user who creates this whiteboard will have permission to view and edit one.",
    "required": false,
    "location": "query",
    "type": "boolean"
  }
}

Response Schema

{
  "allOf": [
    {
      "$ref": "#/components/schemas/WhiteboardSingle"
    },
    {
      "type": "object",
      "properties": {
        "_links": {
          "type": "object",
          "properties": {
            "base": {
              "type": "string",
              "description": "Base url of the Confluence site."
            }
          }
        }
      }
    }
  ]
}

Usage

from ocp_agent import OCPAgent

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

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