Add a function parameter to the tool definition.
Parameter name.
JSON schema type for the parameter.
"string" — text value"integer" — whole number value"number" — numeric value including decimals"boolean" — true or false value"array" — list of values"object" — nested key-value structureDescription of the parameter shown to the AI.
Optional configuration.
Whether this parameter is required.
Optional list of allowed values for this parameter.
DataMap — Self for method chaining.