search_docs
Run full-text queries across MerLin and Perceval documentation to find pages answering conceptual questions; use returned page names to fetch details.
Instructions
Search the documentation full text and return the best-matching pages.
Use this first for conceptual questions ("how does angle encoding work", "noisy simulation", "remote execution on a QPU"). Each result gives a page name to pass to get_doc_page.
Args: query: free text, e.g. "train a quantum layer on MNIST". library: "merlin" (default) or "perceval". limit: maximum number of pages to return. version: docs version override; defaults to the version upstream currently publishes.
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_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| library | No | merlin | |
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |