Search pages
search_pagesSearch Wiki.js pages by keywords using full-text search to locate relevant content. Returns page id, title, path, and locale, with optional filtering by path prefix and locale.
Instructions
Full-text search Wiki.js pages. Returns matching pages with id, title, path and locale. Use get_page to fetch content.
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>"
},
"name": "search_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Restrict results to this path prefix | |
| query | Yes | Search keywords | |
| locale | No | Locale code, e.g. "en" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| totalHits | Yes | ||
| suggestions | Yes |