Stop a session
surfsky_session_stopStop an active browser session to halt billing and preserve profile cookies and logins. Use it when tasks are complete or to clean up leaked sessions.
Instructions
Stop a session and its billing. Use it when a task is done, or to clean up a leaked session found with surfsky_session_list. Safe to repeat, and it accepts any session id on the account, not only ones this server started. A saved profile's cookies and logins are stored on a normal stop. Stopping the default session is fine: the next browser tool call starts a fresh one.
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_id": "<session_id>"
},
"name": "surfsky_session_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session to stop: from surfsky_session_start, a result header, or surfsky_session_list. |