reddit_user_details
Extract and analyze Reddit user account information for open-source intelligence investigations, including profile data and activity insights.
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": {
"username": "<username>"
},
"name": "reddit_user_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Reddit username |
Implementation Reference
- src/index.ts:475-484 (handler)The tool 'reddit_user_details' is defined and implemented directly within src/index.ts, where it registers the tool with the server and executes 'redditClient.getUserDetails' as the handler logic.
server.tool( "reddit_user_details", { username: z.string().describe("Reddit username") }, async ({ username }) => { const result = await redditClient.getUserDetails(username); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } );