update_profile
Modify user profile details like name, headline, location, skills, and experience to enhance job search and application processes.
Instructions
Update your user profile fields
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullName | No | Your full name | |
| headline | No | Professional headline (e.g., "Senior Software Engineer at Google") | |
| location | No | Your location (e.g., "San Francisco, CA") | |
| skills | No | List of skills (e.g., ["Python", "JavaScript", "AWS"]) | |
| experience | No | Years of experience |
Implementation Reference
- src/tools/profile.ts:85-110 (handler)The 'update_profile' tool registration and handler logic.
server.tool( 'update_profile', 'Update your user profile fields', { fullName: z.string().optional().describe('Your full name'), headline: z.string().optional().describe('Professional headline (e.g., "Senior Software Engineer at Google")'), location: z.string().optional().describe('Your location (e.g., "San Francisco, CA")'), skills: z.array(z.string()).optional().describe('List of skills (e.g., ["Python", "JavaScript", "AWS"])'), experience: z.number().optional().describe('Years of experience'), }, async (args) => { const updateData: Record<string, unknown> = {}; if (args.fullName !== undefined) { updateData.fullName = args.fullName; } if (args.headline !== undefined) { updateData.headline = args.headline; } if (args.location !== undefined) { updateData.location = args.location; } if (args.skills !== undefined) { updateData.skills = args.skills; } if (args.experience !== undefined) { updateData.experience = args.experience; } if (Object.keys(updateData).length === 0) { return { content: [{ type: 'text' as const, text: JSON.stringify({ message: 'No fields provided to update' }, null, 2) }] }; } await client.updateProfile(updateData); return { content: [{ type: 'text' as const, text: JSON.stringify({ message: 'Profile updated successfully', updatedFields: Object.keys(updateData) }, null, 2) }] }; } );