Search help-center articles
search_documentsUse this when someone asks which help article covers a topic or question on one of their websites. Returns up to 5 matching published articles with id, title, slug and language, matched by meaning in one language (English by default). Not for reading an article's text.
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": {
"query": "<query>",
"websiteId": "<websiteId>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What the article should cover, in natural language, up to 500 characters | |
| locale | No | Language code to search in, e.g. en, it or fr; defaults to en | |
| websiteId | Yes | Website whose help center to search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | Closest matches first. Content chunks, embeddings, scores, prompts and arbitrary metadata are excluded. |