LlmCapabilities

data class LlmCapabilities @JvmOverloads constructor(val outputSchemaAndTools: Boolean = false)

What a Model supports, as it reports through Model.capabilities.

Constructors

Link copied to clipboard
constructor(outputSchemaAndTools: Boolean = false)

Types

Link copied to clipboard
class Builder

Fluent builder for LlmCapabilities, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the model can apply a response schema in a request that also offers tools. When false, an agent with an output schema and tools (including transfer_to_agent) gets its final answer through a set_model_response tool call instead, unless the agent runs live.

Functions

Link copied to clipboard

Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.