fix: adjust mcp to always use absolute path in description (#143)

This commit is contained in:
Ralph Khreish
2025-04-09 20:52:29 +02:00
committed by GitHub
parent cfe3ba91e8
commit b78535ac19
20 changed files with 37 additions and 25 deletions

View File

@@ -39,7 +39,7 @@ export function registerShowTaskTool(server) {
description: 'Get detailed information about a specific task',
parameters: z.object({
id: z.string().describe('Task ID to get'),
file: z.string().optional().describe('Path to the tasks file'),
file: z.string().optional().describe('Absolute path to the tasks file'),
projectRoot: z
.string()
.optional()