You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@somera this is the llm calling the tool to list root directory, I think we can do some prompt updates but we do tell the llm to use absolute paths and it is "doing that" but maybe we need to make it more clear that "/" is root :
In tool args
path: z.string().describe("The absolute path to the directory to list (must be absolute, not relative)").optional(),
In the tool description:
Lists files and directories in a given path. The path parameter must be absolute; omit it to use the current workspace directory. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.
Activity
github-actions commentedon Oct 23, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 23, 2025
@somera this is the llm calling the tool to list root directory, I think we can do some prompt updates but we do tell the llm to use absolute paths and it is "doing that" but maybe we need to make it more clear that "/" is root :
In tool args
In the tool description: