RuntimeGetProfilerTraceData
Reads ABAP profiler trace data by trace ID or URI for hitlist, statements, or database access views, returning parsed JSON with optional timeout and detail controls.
Instructions
[read-only] [runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on. Recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
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": {
"trace_id_or_uri": "<trace_id_or_uri>",
"view": "<view>"
},
"name": "RuntimeGetProfilerTraceData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Statement node ID (for statements view). | |
| view | Yes | Trace view to retrieve. | |
| timeout | No | Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP. | |
| with_details | No | Include statement details (for statements view). | |
| trace_id_or_uri | Yes | Profiler trace ID or full ADT trace URI. | |
| with_system_events | No | Include system events. | |
| auto_drill_down_threshold | No | Auto drill-down threshold (for statements view). |