get_authenticated_user
Retrieve authenticated user details from Qiita, a Japanese developer community platform, for API interactions and user-specific operations.
Instructions
認証されたユーザーの詳細情報を取得します
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:53-56 (handler)The handler for the 'get_authenticated_user' tool. It has an empty input schema and executes by calling the QiitaApiClient's getAuthenticatedUser method.get_authenticated_user: { schema: z.object({}), execute: async (_, client) => client.getAuthenticatedUser(), },
- src/tools/definitions.ts:4-12 (schema)The MCP tool definition (for listing tools) with name, Japanese description, and empty input schema.{ name: 'get_authenticated_user', description: '認証されたユーザーの詳細情報を取得します', inputSchema: { type: 'object', properties: {}, required: [], }, },
- src/qiitaApiClient.ts:18-22 (helper)Core helper function in QiitaApiClient that performs the actual API call to retrieve the authenticated user after checking authentication.async getAuthenticatedUser() { this.assertAuthenticated(); const response = await this.client.get('/authenticated_user'); return response.data; }