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

Function not_found

tests/lib/tools/test_runner_eager_tools.py:855–861  ·  view source on GitHub ↗
(tool_use_id: str)

Source from the content-addressed store, hash-verified

853
854
855def not_found(tool_use_id: str) -> dict[str, Any]:
856 return {
857 "type": "tool_result",
858 "tool_use_id": tool_use_id,
859 "content": "Error: Tool 'lookup' not found",
860 "is_error": True,
861 }
862
863
864def ids(tool_uses: list[Any]) -> list[str]:

Calls

no outgoing calls

Tested by

no test coverage detected