Expand description
Provider-specific tool schemas (OpenAI / Anthropic / Gemini)
Gestura’s pipeline keeps a text prompt format for portability, but some LLM providers require tool definitions to be passed out-of-band (as JSON schema) to enable structured tool calls.
This module converts Gestura’s ToolDefinition inventory into provider-
specific schemas.
Structs§
- Provider
Tool Schemas - Provider-specific tool schema bundles.
Functions§
- build_
provider_ tool_ schemas - Build provider tool schemas for a set of tool definitions.
- normalize_
openai_ parameters_ schema - Normalize a JSON Schema into the stricter top-level object shape required by OpenAI-compatible function calling APIs.