Get Profile Summary
get_profile_summaryRetrieve a concise overview of a loaded CPU profile, including duration, sample count, top-level call tree, and idle time. Omit the profile ID to list all loaded profiles.
Instructions
Returns an overview of a loaded profile: duration, sample count, top-level call tree (filtered to functions >0.1% of total time), and idle time percentage. For large profiles, the call tree is limited to depth 2 and top 20 children per node to keep output manageable. Also lists all loaded profiles if no ID is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profileId | No | Profile ID. If omitted, lists all loaded profiles. | |
| treeDepth | No | Depth of call tree to include (default: 2, max: 5) |