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
trait Serializable
trait Product
trait Equals
trait Message
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product