Search documentation
searchUse when you know the topic but need authoritative pages. Searches titles, descriptions, headings and body; deduplicates chunks into pages in Fumadocs full-text relevance order (ZBSearch). Rank is a position, not confidence. Read a result with get_page; narrow query or section if has_more is true.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum pages to return, from 1 to 20; defaults to 5. | |
| query | Yes | Keywords to find in documentation titles, descriptions, headings and body; 2 to 500 characters. | |
| section | No | Optional top-level docs section, for example discovery, mcp-servers or retrievability; root is the docs index page. Unknown sections return no matches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranking | Yes | Explanation of the relevance ordering and rank semantics. | |
| results | Yes | Distinct matching documentation pages, bounded by the caller limit. | |
| has_more | Yes | More matching pages exist beyond this limit. Narrow query or section, increase limit up to 20, or browse list_pages. |