Param
annotation class Param(val description: String = "", val name: String = "", val required: Requiredness = Requiredness.AUTO)
Annotates a parameter of a function annotated with Tool to provide explicit metadata.
Properties
Link copied to clipboard
An optional explicit description for the parameter. If not provided, the @param tag from the KDoc is used.
Link copied to clipboard
Link copied to clipboard
Whether the parameter is required; see Requiredness. Honored by both paths, defaulting to Requiredness.AUTO.