kb_update_professional
Update professional details like job, skills, experience, and education to maintain current career information in your knowledge base.
Instructions
Update professional information (job, skills, experience, etc.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kb_update_professional"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| occupation | No | ||
| yearsOfExperience | No | ||
| industry | No | ||
| specializations | No | ||
| currentCompany | No | ||
| role | No | ||
| skills | No | ||
| certifications | No | ||
| education | No |
Implementation Reference
- src/index.ts:569-579 (handler)MCP tool dispatch handler for 'kb_update_professional'. Delegates to KnowledgeManager.updateProfessional and returns success response.
case 'kb_update_professional': { await km.updateProfessional(args as any); return { content: [ { type: 'text', text: '✅ Professional information updated successfully' } ] }; } - src/KnowledgeManager.ts:159-172 (helper)Core implementation that updates professional info in knowledge base, records history change, and persists to disk.
async updateProfessional(updates: Partial<ProfessionalInfo>): Promise<void> { Object.entries(updates).forEach(([field, value]) => { const oldValue = (this.kb.professional as any)[field]; (this.kb.professional as any)[field] = value; this.addHistory({ action: oldValue === undefined ? 'add' : 'update', category: 'professional', field, oldValue, newValue: value }); }); await this.save(); } - src/index.ts:102-119 (schema)Tool registration and input schema definition for kb_update_professional, defining expected parameters.
{ name: 'kb_update_professional', description: 'Update professional information (job, skills, experience, etc.)', inputSchema: { type: 'object', properties: { occupation: { type: 'string' }, yearsOfExperience: { type: 'number' }, industry: { type: 'string' }, specializations: { type: 'array', items: { type: 'string' } }, currentCompany: { type: 'string' }, role: { type: 'string' }, skills: { type: 'array', items: { type: 'string' } }, certifications: { type: 'array', items: { type: 'string' } }, education: { type: 'array', items: { type: 'string' } } } } }, - src/types.ts:12-22 (schema)TypeScript interface defining the structure of professional information, matching the tool input schema.
export interface ProfessionalInfo { occupation?: string; yearsOfExperience?: number; industry?: string; specializations?: string[]; currentCompany?: string; role?: string; skills?: string[]; certifications?: string[]; education?: string[]; }