find_draws_by_resource
Find all draw calls that reference a specific resource ID, scanning shaders, SRVs, UAVs, render targets, and depth targets. Get event IDs and match reasons.
Instructions
Find all draw calls using a specific resource ID (exact match).
Args: resource_id: Resource ID to search for (e.g. "ResourceId::12345" or "12345")
Returns a list of matching draw calls with event IDs and match reasons. Searches shaders, SRVs, UAVs, render targets, and depth targets.
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": {
"resource_id": "<resource_id>"
},
"name": "find_draws_by_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||