Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 3.77 KB

ToolParameter.md

File metadata and controls

14 lines (11 loc) · 3.77 KB

ToolParameter

Fields

Field Type Required Description
type Optional<ToolParameterType> ➖ Parameter type (string, number, boolean, object, array)
name Optional<String> ➖ The name of the parameter
description Optional<String> ➖ The description of the parameter
isRequired Optional<Boolean> ➖ Whether the parameter is required
possibleValues List<String> ➖ The possible values for the parameter. Can contain only primitive values or arrays of primitive values.
items Optional<ToolParameter> ➖ N/A
properties Map<String, ToolParameter> ➖ When type is 'object', this describes the structure of the object.