Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ _tool_result
Function
_tool_result
tests/lib/tools/test_session_runner.py:83–84 ·
view source on GitHub ↗
(tool_use_id: str)
Source
from the content-addressed store, hash-verified
81
82
83
def
_tool_result(tool_use_id: str) -> _StubEvent:
84
return
_StubEvent(
"user.tool_result"
, tool_use_id=tool_use_id)
85
86
87
def
_tool_confirmation(tool_use_id: str, result: str) -> _StubEvent:
Callers
1
test_skips_already_answered_events
Function · 0.85
Calls
1
_StubEvent
Class · 0.85
Tested by
no test coverage detected