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

Function _async_tool

tests/lib/tools/toolsets/test_runner.py:775–777  ·  view source on GitHub ↗

An async tool.

(x: str)

Source from the content-addressed store, hash-verified

773 return x
774
775 async def _async_tool(x: str) -> str:
776 """An async tool."""
777 return x
778
779 async_tool = beta_async_tool(_async_tool)
780 with pytest.raises(TypeError, match="async tool"):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected