native-profiler-stop
Stops a running native profiling session and saves the trace as a downloadable artifact, exporting iOS CPU, hang, and leak XML or Android Perfetto .pftrace for debugging.
Instructions
End a native profiling session started by native-profiler-start and save the trace as a downloadable artifact. On iOS, export CPU, hangs, and leaks XML from Instruments. Check warning and exportDiagnostics for partial or skipped exports. On Android, save the Perfetto .pftrace.
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": {
"device_id": "<device_id>"
},
"name": "native-profiler-stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Target device id from `list-devices` (iOS UDID or Android serial). |