MCPcopy
hub / github.com/dataelement/Clawith / _agent_workspace_root

Function _agent_workspace_root

backend/app/services/agent_tools.py:2610–2612  ·  view source on GitHub ↗

Return the per-agent local path without creating or hydrating it.

(agent_id: uuid.UUID)

Source from the content-addressed store, hash-verified

2608
2609
2610def _agent_workspace_root(agent_id: uuid.UUID) -> Path:
2611 """Return the per-agent local path without creating or hydrating it."""
2612 return WORKSPACE_ROOT / str(agent_id)
2613
2614
2615def _non_empty_paths(*paths: str | None) -> list[str] | None:

Callers 2

_execute_tool_directFunction · 0.85
execute_toolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected