Package-level declarations
Types
Link copied to clipboard
@Serializable
A persisted conversation. Items are accessed separately through the Conversations API.
Link copied to clipboard
Identifier of a persisted conversation.
Link copied to clipboard
A conversation item. The complete JSON object is preserved so hosted-tool and future item variants can be read and sent back without losing fields. Factories cover common input items.
Link copied to clipboard
Adds up to 20 items to a conversation.
Link copied to clipboard
@Serializable
Creates a conversation with optional initial items and metadata. At most 20 items may be supplied.
Link copied to clipboard
Updates the supplied metadata keys, preserving existing keys that are not included. An empty map leaves metadata unchanged. The API rejects JSON null; it does not clear metadata.