get_authenticated_user
Get information about the authenticated user in Postman. Use this to confirm identity and access permissions.
Instructions
Get authenticated user information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/api/auth/index.ts:203-211 (handler)The handler function that executes the 'get_authenticated_user' tool logic. It calls GET /me on the Postman API client and returns the authenticated user information.
/** * Get authenticated user information * Returns different response for Guest and Partner roles * Returns flow_count only for Free plan users */ async getAuthenticatedUser(): Promise<ToolCallResponse> { const response = await this.client.get('/me'); return this.createResponse(response.data); } - src/tools/api/auth/index.ts:49-50 (registration)Routes the 'get_authenticated_user' tool name to the getAuthenticatedUser() handler via a switch statement in handleToolCall.
case 'get_authenticated_user': return await this.getAuthenticatedUser(); - The schema definition for the 'get_authenticated_user' tool. It has no required input fields (empty properties object).
{ name: 'get_authenticated_user', description: 'Get authenticated user information', inputSchema: { type: 'object', properties: {}, required: [] // No required fields } }