ResultPart

works.iterative.claude.core.model.ResultPart
enum ResultPart

One part of what a tool answered.

A result is not always writing. A tool that looks at a screen answers with a picture, and the words a tool wrote around a picture are about it — so the parts stay in the order the tool wrote them rather than being joined into one body with the pictures dropped.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Image(mediaType: String, data: String)

A picture the tool answered with, kept as the tool sent it: base64 in the media type it named. Whoever shows it decides how it reaches a page.

A picture the tool answered with, kept as the tool sent it: base64 in the media type it named. Whoever shows it decides how it reaches a page.

Attributes

final case class Text(text: String)

Characters the tool wrote.

Characters the tool wrote.

Attributes