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

Function silent

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

Source from the content-addressed store, hash-verified

369 # A tool with nothing to say returns None: the result reads "(no output)", it is not an error, and the next
370 # call in the stream is still dispatched.
371 async def silent(_input: dict[str, Any]) -> Any:
372 return None
373
374 async def echo(input: dict[str, Any]) -> str:
375 return f"got {input.get('x')}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected