find_draws_by_shader
Identify all draw calls that use a shader matching a given name or entry point, optionally filtered by shader stage.
Instructions
Find all draw calls using a shader with the given name (partial match).
Args: shader_name: Partial name to search for in shader names or entry points stage: Optional shader stage to search (if not specified, searches all stages)
Returns a list of matching draw calls with event IDs and match reasons.
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": {
"shader_name": "<shader_name>"
},
"name": "find_draws_by_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | No | ||
| shader_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||