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. This signals to the generation engine that the tool will yield a pending state.

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.