UserMessage
works.iterative.claude.core.model.UserMessage
case class UserMessage(content: List[ContentBlock], id: Option[MessageId] = ..., parentToolUseId: Option[String] = ...) extends Message
A user turn on the live stream. Everything the vendor sends as user — what a person typed, and the answer every tool call comes back with — so the content is blocks, exactly as an assistant reply's is. id is the vendor uuid; parentToolUseId joins a subagent's answer to its sidechain.
Attributes
- Graph
-
- Supertypes
Members list
In this article