user_get
Retrieve user details by email address from the Pickaxe platform to access profile information and manage user data across studio environments.
Instructions
Get details for a specific user by email.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studio | No | Studio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION | |
| Yes | The user's email address |
Implementation Reference
- src/index.ts:529-532 (handler)Handler for the 'user_get' tool. Fetches user details by email via a GET request to the Pickaxe API and returns the JSON response.case "user_get": { const result = await pickaxeRequest(`/studio/user/${encodeURIComponent(args.email as string)}`, "GET", undefined, studio); return JSON.stringify(result, null, 2); }
- src/index.ts:278-292 (registration)Registration of the 'user_get' tool in the tools array, including name, description, and input schema definition.{ name: "user_get", description: "Get details for a specific user by email.", inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address", }, }, required: ["email"], }, },
- src/index.ts:281-291 (schema)Input schema for 'user_get' tool, requiring 'email' parameter and optional 'studio'.inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address", }, }, required: ["email"], },