MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / _tool_runner_responses

Function _tool_runner_responses

tests/lib/test_vertex.py:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43
44def _tool_runner_responses() -> List[httpx2.Response]:
45 return [
46 _vertex_message(
47 [{"type": "tool_use", "id": "toolu_01", "name": "get_weather", "input": {"city": "Paris"}}],
48 "tool_use",
49 ),
50 _vertex_message([{"type": "text", "text": "It is sunny in Paris."}], "end_turn"),
51 ]
52
53
54def _assert_tool_runner_calls(calls: List[MockRequestCall]) -> None:

Calls 1

_vertex_messageFunction · 0.85

Tested by

no test coverage detected