chat
Engage with Glean Assistant to retrieve enterprise knowledge, including company policies and time-off details, by providing user questions and optional message context for accurate responses.
Instructions
Chat with Glean Assistant using Glean's RAG
Example request:
{
"message": "What are the company holidays this year?",
"context": [
"Hello, I need some information about time off.",
"I'm planning my vacation for next year."
]
}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional previous messages for context. Will be included in order before the current message. | |
| message | Yes | The user question or message to send to Glean Assistant. |