list_categories
Retrieve all available task categories within AI Note MCP Server to organize and manage tasks effectively using natural language commands.
Instructions
List all categories
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- lib/tools/shared-tools.js:146-149 (handler)Handler function for 'list_categories' tool. Proxies the tool call to the backend API client.handler: async (_args, { apiClient }) => { const result = await apiClient.callTool('list_categories', {}); return result; // Return full result with { content: [...] } }
- lib/tools/shared-tools.js:103-112 (schema)Schema definition for the 'list_categories' tool, including name, description, and input schema (no parameters).function listCategoriesDefinition() { return { name: 'list_categories', description: 'List all categories', inputSchema: { type: 'object', properties: {} } }; }
- lib/core/server-factory.js:17-23 (registration)Top-level registration of shared tools (including 'list_categories') to the ToolRegistry.function registerTools(registry, { includeChatGpt }) { registry.registerMany(getSharedTools()); if (includeChatGpt) { registry.registerMany(getChatGptTools()); } }
- lib/tools/shared-tools.js:144-150 (registration)Specific registration entry for 'list_categories' tool in getSharedTools() array.{ definition: listCategoriesDefinition(), handler: async (_args, { apiClient }) => { const result = await apiClient.callTool('list_categories', {}); return result; // Return full result with { content: [...] } } }