kloakt_session_act
Drive a persistent browser session: navigate to URLs, click elements, fill inputs, or execute JavaScript. Multiplexes four actions into one tool for stateful web interaction.
Instructions
Act on a persistent session's page. One tool multiplexes four actions via action: 'navigate' (go to url), 'click' (click a CSS selector), 'type' (set an input's value) or 'eval' (run a JS expression). State persists, so this is how you drive a session opened with kloakt_session_open.
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>",
"action": "<action>"
},
"name": "kloakt_session_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | For action=navigate: the URL | |
| name | Yes | Session name | |
| value | No | For action=type: the text to set on the element | |
| action | Yes | What to do | |
| selector | No | For action=click/type: CSS selector of the target element | |
| expression | No | For action=eval: the JS expression to evaluate |