MCPcopy 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
83def _tool_result(tool_use_id: str) -> _StubEvent:
84 return _StubEvent("user.tool_result", tool_use_id=tool_use_id)
85
86
87def _tool_confirmation(tool_use_id: str, result: str) -> _StubEvent:

Callers 1

Calls 1

_StubEventClass · 0.85

Tested by

no test coverage detected