Open Context Protocol is live! 🚀 Read the launch post

updatePageTitle

Update page title

Details

  • Method: PUT
  • Path: /pages/{id}/title
  • Operation ID: updatePageTitle

Parameters

{
  "id": {
    "description": "The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Response Schema

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PageSingle"
    },
    {
      "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('updatePageTitle', {
    # Add required parameters here
})