struct

Anthropic::MidConversationSystemContent

Inherits JSON::Serializable < Struct < Value < Object

Mid-conversation system instructions content block.

Use this block to provide or update system-level instructions at a specific point in the conversation, rather than only via the top-level system parameter. Nested content may include text, tool_addition, and tool_removal blocks.

Constructors

new(content : Array(MidConversationSystemBlock), cache_control : CacheControl | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cache_control
Source
content
Source
type
Source