Expand description
Tool-schema generation for AI agent tool use.
This crate introspects a clap Command tree and produces schema output in
formats commonly consumed by AI tooling.
Structs§
- Parameter
Schema - Schema for a single parameter/argument.
- Tool
Definition - Definition of a single command/tool.
- Tool
Schema Output - Top-level schema output with envelope metadata.
Enums§
- Tool
Schema Format - Output format for rendered tool schemas.
Constants§
- TOOL_
SCHEMA_ VERSION - Schema version for tool definitions.
Functions§
- build_
tool_ schema - Build the tool schema from a clap
Command. - render_
output - Render the schema output in the specified format.