ToolParam

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class ToolParam(val description: String)

Marks a property in a tool's argument class with a description for JSON schema generation.

The description is included in the tool's JSON schema, helping the model understand what each parameter represents.

Properties

Link copied to clipboard

A human-readable description of the parameter.