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

Function sync_tool

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

A sync tool.

(x: str)

Source from the content-addressed store, hash-verified

769) -> None:
770 @beta_tool
771 def sync_tool(x: str) -> str:
772 """A sync tool."""
773 return x
774
775 async def _async_tool(x: str) -> str:
776 """An async tool."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected