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

Method __init__

tests/lib/tools/test_session_runner.py:274–276  ·  view source on GitHub ↗
(self, name: str, fn: Callable[[object], str])

Source from the content-addressed store, hash-verified

272 takes its sync-tool branch."""
273
274 def __init__(self, name: str, fn: Callable[[object], str]) -> None:
275 self._name = name
276 self._fn = fn
277
278 @override
279 def to_dict(self) -> BetaToolParam:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected