list_files
Lists all files in the current Maven project to review structure and contents for project management and organization.
Instructions
Lister tous les fichiers du projet en cours
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:400-419 (handler)The listFiles function which implements the logic for listing files in the current project.
async function listFiles() { if (Object.keys(currentProject.files).length === 0) { return { content: [ { type: "text", text: "Aucun projet en cours. Creez d'abord un projet avec 'create_maven_project'.", }, ], }; } const filesList = Object.keys(currentProject.files) .sort() .map(file => `- ${file}`) .join('\n'); return { content: [ { - src/index.ts:192-198 (registration)The MCP tool registration for list_files.
name: "list_files", description: "Lister tous les fichiers du projet en cours", inputSchema: { type: "object", properties: {}, }, },