get_project_info
Retrieve detailed information about a specific RAG project within the Calibre ebook library, including its configuration, contents, and organization for semantic search and contextual conversations.
Instructions
Get detailed information about a specific RAG project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Name of the project |
Implementation Reference
- server.js:1207-1234 (handler)The main handler function for the 'get_project_info' tool. It validates the project_name argument, retrieves the project configuration from the in-memory projects Map, and sends a formatted JSON-RPC success response with project details.case 'get_project_info': const infoProjName = args.project_name; if (!infoProjName) { this.sendError(id, -32602, 'Missing required parameter: project_name'); return; } const project = this.projects.get(infoProjName); if (!project) { this.sendError(id, -32603, `Project '${infoProjName}' not found`); return; } this.sendSuccess(id, { content: [{ type: 'text', text: `**Project: ${project.name}**\n\n` + `Description: ${project.description}\n` + `Created: ${project.created_at}\n` + `Books: ${project.books.length}\n` + `Chunks: ${project.chunk_count}\n` + `Vector Dimension: ${project.vector_dimension}\n` + `${project.last_updated ? `Last Updated: ${project.last_updated}` : ''}` }], project: project }); break;
- server.js:1072-1085 (registration)Tool registration in the tools/list response, including the tool name, description, and input schema definition (JSON Schema for parameters).{ name: 'get_project_info', description: 'Get detailed information about a specific RAG project', inputSchema: { type: 'object', properties: { project_name: { type: 'string', description: 'Name of the project' } }, required: ['project_name'] } }
- server.js:1075-1084 (schema)JSON Schema defining the input parameters for the 'get_project_info' tool: requires a 'project_name' string.inputSchema: { type: 'object', properties: { project_name: { type: 'string', description: 'Name of the project' } }, required: ['project_name'] }