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]