Skip to main content

LLMContentBlock

API reference

A single piece of content within an LLM message.

Implements Node

arguments: JSON!

The arguments passed to the tool, JSON-encoded (for TOOL_CALL kind).

callId: String!

The unique ID of a tool call (for TOOL_CALL or TOOL_RESULT kinds).

errored: Boolean!

Whether the tool call resulted in an error (for TOOL_RESULT kind).

id: ID!

A unique identifier for this LLMContentBlock.

kind: LLMContentBlockKind!

The kind of content block, which determines the other populated fields.

signature: String!

Provider-specific opaque data (e.g. Anthropic thinking signature). Preserve it when reconstructing a conversation.

text: String!

Text content (for TEXT, THINKING, or TOOL_RESULT kinds).

toolName: String!

The name of the tool called (for TOOL_CALL kind).

References

Returned by

Accepted as an argument by