profiler_export
Loads a saved Unity Profiler capture in the open Editor and exports per-marker main-thread statistics to .data.markers.json for marker-level analysis. Large captures can block the Editor.
Instructions
Have the open Unity Editor load a capture and export per-marker main-thread statistics to .data.markers.json. Large captures can take minutes and block the editor.
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": {
"capture": "<capture>"
},
"name": "profiler_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-export even if the JSON exists. | |
| folder | No | Capture folder. Default: UNITY_PROFILER_CAPTURES or <project>/ProfilerCaptures from the open editor. | |
| capture | Yes | Capture file name (with or without .data) inside the capture folder, or an absolute path. |