lookup_api
Look up a Pyxel or Cube API by name to retrieve signatures, documentation, and class members, or use partial names to find matching API names.
Instructions
Look up an installed Pyxel or Cube API by name, e.g. blt, Image.set, or cube.Vec3.lerp. Exact names return signatures, available documentation and class members. Partial names return up to 30 matching names.
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": {
"name": "<name>"
},
"name": "lookup_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | No | ||
| errors | Yes | ||
| matches | No | ||
| members | No | ||
| match_count | No | ||
| declarations | No |