ContentKind

The kind of a content block.

toolUse/toolResult are the sampling content blocks added by the 2025-11-25 / draft tool-enabled sampling revisions (ToolUseContent / ToolResultContent in the schema); they appear inside sampling/createMessage messages and results, not in tool/prompt content.

Values

ValueMeaning
text
image
audio
embeddedResource
toolUse
toolResult
unknown

A content block whose type is not one this SDK models (e.g. a future or vendor-specific kind). Stored verbatim so it round-trips losslessly instead of being coerced into empty text.