Expand description
Tool call parsing and schema validation for LLM output.
Provides ToolCallParser which scans raw LLM text for JSON tool-call
objects, extracts structured ToolCall values, and validates them against
registered ToolSchema definitions.
Structs§
- Tool
Call - A parsed (and optionally validated) tool invocation.
- Tool
Call Builder - Fluent builder for constructing
ToolCallvalues programmatically. - Tool
Call Parser - Parses tool calls from LLM text and validates them against registered schemas.
- Tool
Parameter - A single parameter in a tool schema.
- Tool
Schema - Full schema for a single tool.
Enums§
- Parse
Error - Errors that can occur while parsing or validating a tool call.