Expand description
Structured output schemas for AI model tool calling.
Uses schemars to generate JSON Schema definitions that constrain
model outputs to well-typed Rust structs, ensuring type safety
throughout the execution pipeline.
Structs§
- Execute
Command - A tool call request from the AI model to execute a command.
- Read
File - A tool call request to read a file.
- Write
File - A tool call request to write a file.
Enums§
- Tool
Call - A tool call from the model — one of the defined tool types.
Functions§
- generate_
schema - Generate a JSON Schema string for a given type.