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

Function increment

tests/lib/tools/test_session_runner.py:432–434  ·  view source on GitHub ↗
(_input: dict[str, Any])

Source from the content-addressed store, hash-verified

430 counter = {"calls": 0}
431
432 async def increment(_input: dict[str, Any]) -> str:
433 counter["calls"] += 1
434 return "done"
435
436 tool = _FakeTool("inc", increment)
437 events = FakeAsyncEvents(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected