One Logo Pool Ball
FoundationModels · IOS API REFERENCE

LanguageModelExecutorGenerationChannel.Reasoning

struct · iOS 27.0+ · SDK 27.1

struct Reasoning

A reasoning event. A per-entry reasoning text, segment replacements, signature updates, metadata, or usage. Reasoning events are peers of ``Response`` and ``ToolCalls``.

Members (4)

get · iOS 27.0+

action

TypeScript
get action(): LanguageModelExecutorGenerationChannel_Reasoning_Action
Swift declaration
var action: LanguageModelExecutorGenerationChannel.Reasoning.Action

The action to perform.

set · iOS 27.0+

action

TypeScript
set action(value: LanguageModelExecutorGenerationChannel_Reasoning_Action)
Swift declaration
var action: LanguageModelExecutorGenerationChannel.Reasoning.Action

The action to perform.

get · iOS 27.0+

entryID

TypeScript
get entryID(): (string) | null
Swift declaration
var entryID: String?

The identifier for the entry.

set · iOS 27.0+

entryID

TypeScript
set entryID(value: (string) | null)
Swift declaration
var entryID: String?

The identifier for the entry.

Skipped declarations

No declarations were skipped in this snapshot.

All FoundationModels types →