edge_gen_ai_tool library

Classes

EdgeGenAITool
A tool (function) the on-device model may call while generating a response to an EdgeGenAIPrompt.generateContent call.
EdgeGenAIToolParameter
A single named parameter of an EdgeGenAITool.
EdgeGenAIToolSchema
The schema of one value the model generates when calling a tool, mirroring what Foundation Models' DynamicGenerationSchema can enforce natively on iOS: primitive types, string enums, numeric ranges, arrays with item schemas and length bounds, and nested objects.

Enums

EdgeGenAIToolParameterType
The type of a single tool parameter value.