get_draw_calls
Retrieve a hierarchical list of draw calls, dispatches, and GPU events from a RenderDoc capture, with filters for markers, event IDs, and flags to isolate relevant actions.
Instructions
Get the list of all draw calls and actions in the current capture.
Args: include_children: Include child actions in the hierarchy (default: True) marker_filter: Only include actions under markers containing this string (partial match) exclude_markers: Exclude actions under markers containing these strings (list of partial matches) event_id_min: Only include actions with event_id >= this value event_id_max: Only include actions with event_id <= this value only_actions: If True, exclude marker actions (PushMarker/PopMarker/SetMarker) flags_filter: Only include actions with these flags (list of flag names, e.g. ["Drawcall", "Dispatch"])
Returns a hierarchical tree of actions including markers, draw calls, dispatches, and other GPU events.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_draw_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id_max | No | ||
| event_id_min | No | ||
| flags_filter | No | ||
| only_actions | No | ||
| marker_filter | No | ||
| exclude_markers | No | ||
| include_children | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||