Companion

object Companion

Properties

Link copied to clipboard

Placeholder error returned on the first call of a confirmation-gated tool.

Link copied to clipboard
const val ERROR_KEY: String

Map key under which confirmation-related error placeholders are returned.

Link copied to clipboard

A standard note appended to the description of long-running tools. It tells the model not to call the tool again once it has returned an intermediate or pending status.

Link copied to clipboard

Placeholder error returned when the user explicitly rejects a confirmation-gated tool.

Link copied to clipboard

A customMetadata key holding the binary name of the class a tool was generated or built from, paired with SOURCE_METHOD_METADATA_KEY. Both the KSP @Tool processor and ReflectiveTools record it, so a metadata consumer can resolve the source method and read its annotations.

Link copied to clipboard

A customMetadata key holding the name of the method a tool was generated or built from.