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

getBlogPostLikeCount

Get like count for blog post

Details

  • Method: GET
  • Path: /blogposts/{id}/likes/count
  • Operation ID: getBlogPostLikeCount

Parameters

{
  "id": {
    "description": "The ID of the blog post 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('getBlogPostLikeCount', {
    # Add required parameters here
})