kb_get_professional
Retrieve professional information from persistent knowledge storage to provide AI agents with context about identity, work, and preferences across sessions.
Instructions
Get professional information
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_get_professional"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:703-712 (handler)The main handler for the kb_get_professional tool in the MCP server's CallToolRequestSchema switch statement. It retrieves professional information using km.getProfessional() and returns it as formatted JSON text content.
case 'kb_get_professional': { return { content: [ { type: 'text', text: JSON.stringify(km.getProfessional(), null, 2) } ] }; } - src/index.ts:216-222 (schema)The tool schema definition including name, description, and empty input schema (no parameters required). This is part of the tools array used for tool listing.
name: 'kb_get_professional', description: 'Get professional information', inputSchema: { type: 'object', properties: {} } }, - src/KnowledgeManager.ts:336-338 (helper)The helper method getProfessional() in KnowledgeManager class that returns a shallow copy of the professional information from the internal knowledge base state.
getProfessional(): ProfessionalInfo { return { ...this.kb.professional }; }