search_api
Locate CuPy and nvmath-python GPU math APIs by task description or function name. Filter by library to retrieve exact signatures and usage details for CUDA-X code.
Instructions
Search CuPy / nvmath-python APIs (cuBLAS, cuFFT, cuSOLVER, cuSPARSE, cuDSS, cuTENSOR) by task description or name, e.g. "batched least squares" or "rfft".
Args:
query: What the code needs to do, or part of a function name.
library: Optional prefix filter such as "cupy", "cupyx.scipy.sparse" or "nvmath".
limit: Maximum number of results (1-20).
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_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| library | No |