An exhaustive reference of special chat tools supported by Meilisearch
call_id
to associate progress updates with their corresponding source results_meiliSearchProgress
call_id
: Unique identifier to track the search operationfunction_name
: Name of the internal function being executed (e.g., “_meiliSearchInIndex”)function_parameters
: JSON-encoded string containing search parameters like q
(query) and index_uid
_meiliAppendConversationMessage
/chats/{workspace}/chat/completions
endpoint is stateless, this tool helps maintain conversation context by requesting the client to append internal messages to the conversation history.
Purpose: Maintains conversation context for better response quality in subsequent requests by preserving tool calls and results.
Arguments:
role
: Message author role (“user” or “assistant”)content
: Message content (for tool results)tool_calls
: Array of tool calls made by the assistanttool_call_id
: ID of the tool call this message responds to_meiliSearchSources
call_id
: Matches the call_id
from _meiliSearchProgress
to associate queries with resultsdocuments
: JSON object containing the source documents with only displayed attributestools
array to enable enhanced functionality: