session_me
Identify the logged-in username on Reddit, X, GitHub, or HN before commenting to avoid duplicate posts. Returns the username or 'unknown' when not detected.
Instructions
Detect the currently logged-in username on the page (Reddit, X, GitHub, HN). Returns username or 'unknown'. Use before commenting to avoid duplicates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "session_me"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | ||
| session_id | Yes |