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

Function tool_removal

tests/lib/threads/helpers.py:207–208  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

205
206
207def tool_removal(name: str) -> BetaMessageParam:
208 return {"role": "system", "content": [{"type": "tool_removal", "tool": {"type": "tool_reference", "name": name}}]}
209
210
211def history_with_nested_blocks(marker: dict[str, Any]) -> list[Any]:

Calls

no outgoing calls