clear_project
Remove all generated files and reset the current Maven project to its initial state, allowing for a clean restart of project generation.
Instructions
Vider le projet en cours
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:474-488 (handler)The actual implementation of the clear_project logic which resets the currentProject object and returns a success message.
async function clearProject() { currentProject = { groupId: "", artifactId: "", version: "1.0.0", files: {}, }; return { content: [ { type: "text", text: "Projet vide avec succes! Vous pouvez maintenant creer un nouveau projet.", }, ], - src/index.ts:184-190 (registration)Registration of the clear_project tool definition for the MCP server.
name: "clear_project", description: "Vider le projet en cours", inputSchema: { type: "object", properties: {}, }, },