Generates JSON schemas for tool parameters.
Supports both strict and non-strict modes:
- strict mode transforms schemas for OpenAI-compatible strict tool calling
- non-strict mode strips
additionalPropertiesfor providers like Gemini
Summary
Functions
Generates a JSON schema for a given action.
Generates a JSON schema for the given tool definition.