Packages@robojs/ai
ChatFunctionProperty
Interface: ChatFunctionProperty
Schema fragment representing a property definition within ChatFunctionParameters.
Properties
| Property | Type | Description |
|---|---|---|
description? | string | Human-readable description exposed to the model. |
enum? | (string | number | boolean)[] | Enumerated accepted values, if applicable. |
items? | ChatFunctionProperty | Nested schema for array item validation. |
maximum? | number | Maximum numeric value when type is numeric. |
minimum? | number | Minimum numeric value when type is numeric. |
type | "string" | "number" | "boolean" | "array" | "integer" | Primitive JSON schema type. |
