Expand description
Multi-format tool call parser
Parses tool calls from LLM output across multiple formats: JSON → XML → Markdown (priority order).
Ported from zeroclaw’s parse_tool_calls which handles JSON, XML,
Markdown, and GLM-style formats for maximum resilience.
Structs§
- Parse
Result - Result of parsing: extracted text (non-tool-call content) and tool calls.
- Parsed
Tool Call - A parsed tool call extracted from LLM output.
Enums§
- Tool
Call Format - The format in which the tool call was detected.
Functions§
- parse
- Parse tool calls from an LLM response string.