Plain text from the user or the model.
Model reasoning, shown in the UI. Only Anthropic needs it back: a part
with a signature or redacted data is sent back unchanged, the rest is
never sent back.
Optionalsignature?: stringAnthropic thinking block signature.
Optionalredacted?: stringOpaque data of an Anthropic redacted_thinking block.
The model asks to run a tool. args is the parsed JSON arguments.
The outcome of a tool call, matched to it by callId.
One piece of a message's content.