plurk_get_me
Retrieve the authenticated Plurk user profile using provided API credentials to access account information and context.
Instructions
Return the authenticated Plurk account profile for the credentials supplied in this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentials | Yes |
Implementation Reference
- src/services/plurkApplication.ts:106-113 (handler)The `getMe` method in `PlurkApplication` retrieves the profile from the pre-resolved `context.profile` within a read action wrapper that handles audit logging.
public async getMe( adapterSource: AdapterSource, credentials: PlurkCredentialsInput, ): Promise<ProfileData> { return this.runReadAction("get-me", adapterSource, credentials, async (context) => { return context.profile; }); } - src/transports/mcp/toolCatalog.ts:27-32 (registration)Registration of the `plurk_get_me` tool in the `buildToolCatalog` function.
{ name: "plurk_get_me", description: "Return the authenticated Plurk account profile for the credentials supplied in this call.", inputSchema: z.object({ credentials: credentialsSchema }), execute: async ({ credentials }) => application.getMe("mcp", credentials), },