Dagger.LLMContentBlockKind (dagger v1.0.0-beta.13)

Copy Markdown View Source

The kind of content in a message block.

Summary

Functions

Plain text content.

Model thinking/reasoning content (e.g. Anthropic extended thinking).

A tool/function call from the model.

A tool/function result.

Types

t()

@type t() :: :TEXT | :THINKING | :TOOL_CALL | :TOOL_RESULT

Functions

text()

@spec text() :: :TEXT

Plain text content.

thinking()

@spec thinking() :: :THINKING

Model thinking/reasoning content (e.g. Anthropic extended thinking).

tool_call()

@spec tool_call() :: :TOOL_CALL

A tool/function call from the model.

tool_result()

@spec tool_result() :: :TOOL_RESULT

A tool/function result.