kloakt_session_open
Open or reattach to a persistent, named browser session that preserves cookies and page state across calls. Use to begin multi-step web interactions.
Instructions
Open (or reattach to) a persistent, named browser session. Unlike the stateless tools, a session keeps its cookies AND its page/JS/DOM state alive across separate calls, so you can log in once and keep driving the same page over many turns. A background daemon is auto-started if needed. Use this to begin a multi-step interaction; follow with kloakt_session_act / kloakt_session_read, and kloakt_session_close when done.
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": {
"name": "<name>"
},
"name": "kloakt_session_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to open the page at | |
| name | Yes | Session name (your handle for it) | |
| port | No | Daemon port (default: 9222) |