Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ _make_context
Function
_make_context
tests/test_tool_hooks.py:23–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
_make_context() -> ToolContext:
24
return
ToolContext(
25
workspace_root=Path(
"/tmp"
),
26
options=ToolUseOptions(),
27
)
28
29
30
def
_make_assistant_msg() -> AssistantMessage:
Callers
6
test_no_hook_result_no_can_use_tool_fails_closed
Method · 0.70
test_hook_allow
Method · 0.70
test_hook_deny
Method · 0.70
test_hook_allow_with_updated_input
Method · 0.70
test_can_use_tool_called_when_no_hook
Method · 0.70
test_hook_ask_passes_to_can_use_tool
Method · 0.70
Calls
2
ToolContext
Class · 0.90
ToolUseOptions
Class · 0.90
Tested by
no test coverage detected