format: TextFormat

The effective output format. Defaults to ordinary text.

One of the following:
TextFormatResourceText { type }

Generates ordinary text without a structured-output constraint.

type: "text"

The type of the object. Always text.

TextFormatResourceJSONSchema { schema, type }

Constrains generated text to a JSON Schema.

schema: Record<string, unknown>

The JSON Schema that generated text must match.

type: "json_schema"

The type of the object. Always json_schema.

verbosity: "low" | "medium" | "high"

The amount of text produced by the agent. Defaults to medium.

One of the following:
"low"
"medium"
"high"