MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _make_context

Function _make_context

tests/test_tool_orchestration.py:31–35  ·  view source on GitHub ↗
(tools: list[Tool])

Source from the content-addressed store, hash-verified

29
30
31def _make_context(tools: list[Tool]) -> ToolContext:
32 return ToolContext(
33 workspace_root=Path("/tmp"),
34 options=ToolUseOptions(tools=tools),
35 )
36
37
38def _make_block(name: str, tool_id: str = "tu_1") -> ToolUseBlock:

Calls 2

ToolContextClass · 0.90
ToolUseOptionsClass · 0.90

Tested by

no test coverage detected