Parameters

NameTypeRequiredDescription
brandIdstringYesOcoya brand id from ocoya_list_brands.
conversationIdstringYesConversation id from ocoya_list_conversations.
limitnumberNoHow many of the latest messages, up to 200. Defaults to 50.

Request example

{
  "name": "ocoya_get_conversation",
  "arguments": {
    "brandId": "cmayvq3hk00017apshay5qezu",
    "conversationId": "<conversationId>"
  }
}

Returns

Returns the conversation, as ocoya_list_conversations gives it, with messages [{id, type, text, images, authorId, deleted, createdAt}]. This tool only reads: it changes nothing in Ocoya.