resetSession
Recover a broken write session by rebuilding a fresh stateful ADT session and re-logging in. Use this to fix stale lock or stateful lost errors without permanently disabling the client.
Instructions
RECOVER a broken write session: rebuilds a fresh STATEFUL ADT session for the active connection and re-logs in. Use this (NOT logout) when a lock/edit fails with "stale lock" or "stateful lost" — logout permanently disables the client, resetSession restores it and releases the prior session's locks.
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": "resetSession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |