get_example
Retrieve runnable, GPU-verified example code and known pitfalls for the CuPy or nvmath-python APIs most relevant to a described task.
Instructions
Get runnable, GPU-verified example code (with pitfalls) for the curated APIs most relevant to a task, e.g. "matmul with bias and relu epilog".
Args:
task: Short description of what the code should do.
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": {
"task": "<task>"
},
"name": "get_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |