trace_app
Capture performance traces of Xcode applications using xctrace to analyze execution metrics and identify optimization opportunities.
Instructions
Captures a performance trace of an application using 'xctrace'.
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": {
"appPath": "<appPath>"
},
"name": "trace_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appPath | Yes | Path to the application binary to trace. | |
| duration | No | Duration (in seconds) for the trace. |