extract_tool_calls#

langchain_anthropic.output_parsers.extract_tool_calls(content: str | List[str | dict]) List[ToolCall][source]#

Extract tool calls from a list of content blocks.

Parameters:

content (str | List[str | dict])

Return type:

List[ToolCall]