Switch the active SAP session
sap_useSwitches the active SAP GUI, Web GUI, or Fiori session and returns its screen. Use only to change between multiple open sessions; other tools accept a session parameter per call.
Instructions
Makes another session the active one and answers with its screen. Only to switch between several sessions; every other tool also takes "session" for one call.
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": {
"session": "<session>"
},
"name": "sap_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | number, id, system, transaction or sapgui|webgui|fiori |