kb_update_personal
Update your personal details like name, location, languages, and pronouns to maintain accurate context for AI interactions.
Instructions
Update personal information (name, location, languages, etc.)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| birthPlace | No | ||
| birthYear | No | ||
| currentLocation | No | ||
| languages | No | ||
| name | No | ||
| nationality | No | ||
| pronouns | No | ||
| timezone | No |
Implementation Reference
- src/KnowledgeManager.ts:143-156 (handler)Core implementation: updates personal information fields in the knowledge base, logs changes to history, and saves to persistent storage.async updatePersonal(updates: Partial<PersonalInfo>): Promise<void> { Object.entries(updates).forEach(([field, value]) => { const oldValue = (this.kb.personal as any)[field]; (this.kb.personal as any)[field] = value; this.addHistory({ action: oldValue === undefined ? 'add' : 'update', category: 'personal', field, oldValue, newValue: value }); }); await this.save(); }
- src/index.ts:557-567 (handler)MCP tool dispatcher: calls KnowledgeManager.updatePersonal with tool arguments and returns standardized success response.case 'kb_update_personal': { await km.updatePersonal(args as any); return { content: [ { type: 'text', text: '✅ Personal information updated successfully' } ] }; }
- src/index.ts:86-101 (schema)Tool registration including name, description, and input schema definition for MCP ListTools response.name: 'kb_update_personal', description: 'Update personal information (name, location, languages, etc.)', inputSchema: { type: 'object', properties: { name: { type: 'string' }, birthYear: { type: 'number' }, birthPlace: { type: 'string' }, currentLocation: { type: 'string' }, languages: { type: 'array', items: { type: 'string' } }, nationality: { type: 'string' }, timezone: { type: 'string' }, pronouns: { type: 'string' } } } },
- src/types.ts:1-10 (schema)TypeScript interface defining the structure of personal information, matching the tool's inputSchema.export interface PersonalInfo { name?: string; birthYear?: number; birthPlace?: string; currentLocation?: string; languages?: string[]; nationality?: string; timezone?: string; pronouns?: string; }