From 4f1668039509eeae40a5eadf5f5311fb541800a0 Mon Sep 17 00:00:00 2001 From: Ankitsinghsisodya Date: Sat, 16 May 2026 19:51:55 +0530 Subject: [PATCH] fix: update delete tool requirements in instructions Clarified that the `delete` tool now requires exactly one of `path` or `name`, removing the previous no-argument CWD mode. This change enhances the accuracy of the documentation regarding the tool's functionality. --- pkg/mcp/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mcp/instructions.md b/pkg/mcp/instructions.md index b16f30b35d..45af704c81 100644 --- a/pkg/mcp/instructions.md +++ b/pkg/mcp/instructions.md @@ -39,7 +39,7 @@ This is essential because: **Exceptions:** - The `list` tool operates on the cluster, not local files, so it does NOT use a path parameter (it uses namespace instead) -- The `delete` tool can accept an optional named Function to delete, in which case the path is not necessary (no named parameter indicates 'delete the Function in my cwd') +- The `delete` tool requires exactly one of `path` or `name`; it does NOT support a no-argument CWD mode (the MCP server process has its own working directory unrelated to the Function being managed) ## Deployment Behavior