searchShaderLibrary
Find GLSL or WGSL shader building blocks, signatures, and summaries in the local shader-craft library by matching search words.
Instructions
Search the local shader-craft library for GLSL or WGSL building blocks, signatures and summaries.
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": "searchShaderLibrary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results; defaults to 15. | |
| query | Yes | Words to match against local shader library names, signatures, modules and summaries. | |
| language | No | Signature language; defaults to glsl. |