Parameter definition for a tool.
description:
string
Human-readable description of what this parameter does
optionalenum?:string[]
If present, restricts valid values to this list
name:
string
Parameter name (used as key in the parameters object)
required:
boolean
Whether this parameter must be provided
type:
"string"|"number"|"boolean"|"object"|"array"
Data type of the parameter
Was this page helpful?