Sap St22 Lookup
sap_st22_lookupLists SAP ST22 ABAP short dumps for a selected date, then reads a specific runtime error's details by index. Use it to retrieve structured short-dump data instead of running the ST22 transaction.
Instructions
Look up ABAP short dumps (runtime errors) from ST22. If sap-adt is available, prefer its list_short_dumps/get_short_dump_details tools. USE THIS instead of sap_transaction('ST22') - faster and returns structured data. Two-step workflow: call once without dump_index to list dumps, then call again with dump_index=N to read a specific dump's detail. By default lists today's dumps. Use date parameter for other dates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sap_st22_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date to search (YYYY-MM-DD). Default: today. Uses Today/Yesterday toolbar buttons when applicable. | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. | |
| dump_index | No | Select the Nth dump from the list (0-based) to read detail. If None, returns the dump list only. | |
| output_file | No | If provided, write results to this JSON file (on success only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |