Contents

LanguageModelExecutorGenerationChannel.ToolCalls.Action

An operation that can be performed on a tool-calls entry.

Declaration

struct Action

Overview

Action is an enum-like struct; construct one with a leading-dot factory such as toolCall(id:name:action:).

Topics

Tool calling for action cases

Tool calling for action constants

Type Methods

See Also

Handling tool calls