語法檢查
syntax_checkChecks ABAP syntax of source code to verify correctness before writing, without locking or modifying the system.
Instructions
對指定的原始碼內容執行 ABAP 語法檢查(不需要鎖定、不會修改系統)。可用來在寫入前先驗證修改後的程式碼。
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": {
"object_url": "<object_url>"
},
"name": "syntax_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | 要檢查的原始碼內容;省略時檢查系統上目前的版本 | |
| object_url | Yes | 物件 URI,例如 /sap/bc/adt/oo/classes/zcl_demo |