get_project_info
Retrieve detailed information about a specific RAG project, including its structure, content, and configuration for effective library management and content retrieval.
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 logic for the 'get_project_info' tool. It validates the project_name parameter, retrieves the project from the in-memory Map, and sends a formatted success response with project details or appropriate errors.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)Registration of the 'get_project_info' tool in the tools/list method, defining its name, description, and input schema.{ 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'] } }