search_api
Search documented API symbols by name in MerLin and Perceval. Discover exact dotted names for classes, functions, methods, modules, attributes, and properties.
Instructions
Find documented API symbols by name.
Searches the project's own symbol inventory, so it covers every documented class, function, method, module, attribute and property. Use it to discover exact dotted names, then call get_api_doc for signatures.
Args: query: part of a symbol name, e.g. "QuantumLayer", "encode", "detector". library: "merlin" (default) or "perceval". kind: restrict to one of class, function, method, module, attribute, property, data. limit: maximum number of symbols to return. version: docs version override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| query | Yes | ||
| library | No | merlin | |
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |