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

usersCheckFollowingForUser

Check if a user follows another user

Details

  • Method: GET
  • Path: /users/{username}/following/{target_user}
  • Operation ID: users/check-following-for-user

Parameters

{
  "username": {
    "description": "The handle for the GitHub user account.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "target_user": {
    "description": "",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

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

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