search_calls
Regex search graphics function names across a trace to get call counts and numbers, revealing usage patterns like fixed-function vs shader constants.
Instructions
Regex search over function names across the trace; returns counts and call numbers.
The cheapest way to find out whether a game uses fixed-function transforms or shader constants: search 'SetTransform|SetVertexShaderConstant'.
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": {
"trace": "<trace>",
"pattern": "<pattern>"
},
"name": "search_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | ||
| trace | Yes | ||
| pattern | Yes | ||
| timeout | No | ||
| max_hits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||