Sap Keepalive Start
sap_keepalive_startStarts a background task that keeps an SAP session alive by sending periodic pings, preventing idle timeouts during long-running agent workflows. Set the session and ping interval in seconds.
Instructions
Start a background task that keeps the SAP session alive
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_keepalive_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session ID to target (e.g. 's1', 's2'). Defaults to the primary session. | |
| agent_id | No | Agent ID for session binding (optional). | |
| interval_seconds | No | Seconds between keepalive pings (default: 300 = 5 minutes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| running | Yes | Whether keepalive is now running | |
| success | No | Whether the operation succeeded | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. | |
| interval_seconds | No | Ping interval if running |