Function: search_messages
Description: This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Search for messages containing a specific keyword.
Parameters:
type: dict
properties: keyword: type: string
description: The keyword to search for in messages.
required: keyword
Response:
type: dict
properties: results: type: array
description: List of dictionaries containing matching messages.
items: type: dict
properties: receiver_id: type: string
description: User ID of the receiver of the message.
message: type: string
description: The message containing the keyword.