Open Context Protocol is live! 🚀 Read the launch post

getInlineLikeCount

Get like count for inline comment

Details

  • Method: GET
  • Path: /inline-comments/{id}/likes/count
  • Operation ID: getInlineLikeCount

Parameters

{
  "id": {
    "description": "The ID of the inline comment for which like count should be returned.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Response Schema

{
  "title": "Integer",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int64",
      "description": "The count number"
    }
  }
}

Usage

from ocp_agent import OCPAgent

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

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