runQuery
Execute a SQL query on SAP systems, with optional row limit and data decoding.
Instructions
Runs a SQL query on the target system.
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": {
"sqlQuery": "<sqlQuery>"
},
"name": "runQuery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decode | No | Whether to decode the data. | |
| sqlQuery | Yes | The SQL query to execute. | |
| rowNumber | No | The maximum number of rows to retrieve. | |
| connection | No | Optional: SAP connection name to use for THIS call only (overrides the active connection; see listConnections). Immune to server restarts and concurrent switches. |