fix: clarify list_workspace_files description re cross-session persistence

The description "Current session only by default" was confusing for the LLM,
implying the workspace itself is session-scoped. Reworded to clarify the
workspace is persistent and only the default view is filtered to the current
session.
This commit is contained in:
Zamil Majdy
2026-03-14 22:52:18 +07:00
parent f89a8e5de0
commit e542880660

View File

@@ -327,7 +327,7 @@ class ListWorkspaceFilesTool(BaseTool):
@property
def description(self) -> str:
return "List files in persistent workspace. Filter by path_prefix. Current session only by default."
return "List files in persistent workspace (survives across sessions). Defaults to current session's files; set include_all_sessions=true for all."
@property
def parameters(self) -> dict[str, Any]: