analyze_time_profiler
Record a Time Profiler trace to report hot methods that consume the most CPU time in an iOS app.
Instructions
Record a Time Profiler trace and report hot methods consuming the most CPU time.
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": {
"bundle_id": "<bundle_id>",
"device_id": "<device_id>"
},
"name": "analyze_time_profiler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle_id | Yes | App bundle ID, e.g. com.mycompany.myapp | |
| device_id | Yes | Simulator UUID or physical device ID. Use list_devices to find it. | |
| time_limit_seconds | No | Recording duration in seconds (default 20s). |