Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 3.77 KB

File metadata and controls

14 lines (11 loc) · 3.77 KB

ToolParameter

Fields

Field Type Required Description
type Optional[models.ToolParameterType] Parameter type (string, number, boolean, object, array)
name Optional[str] The name of the parameter
description Optional[str] The description of the parameter
is_required Optional[bool] Whether the parameter is required
possible_values List[str] The possible values for the parameter. Can contain only primitive values or arrays of primitive values.
items Optional[models.ToolParameter] N/A
properties Dict[str, models.ToolParameter] When type is 'object', this describes the structure of the object.