List Apex Log Limit Risks
apexlog_list_limit_risksLists governor limits an Apex log transaction has nearly exhausted, ranked by highest usage with used percentages, helping you identify performance risks before limits are hit.
Instructions
List the governor limits an Apex log transaction has nearly used up - CPU time, heap, SOQL queries and rows, SOSL queries, DML statements and rows, callouts and every other limit - worst first, with how much of each was used
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": {
"logFilePath": "<logFilePath>"
},
"name": "apexlog_list_limit_risks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Minimum usedPercentage to report (default: 80) | |
| logFilePath | Yes | Absolute path |