Who controls a remote browser
spicrawl_browser_controlReads or changes who drives a connected remote browser: agent (your CDP connection) or human (a person in its live view, see spicrawl_browser_live_view). status reads it: poll it after sending a live-view link, and continue once controller is agent again. takeover hands control to the person before they ask (your input and navigation then fail with error -32001); release takes it back. The person can also take and give back control from the live view themselves.
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": "spicrawl_browser_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | `status` (default) reads; `takeover` gives control to the person; `release` gives it back to the agent. | |
| session_id | Yes | The remote browser session, as `session_id` from spicrawl_browser_connect_url. It exists while that connection is open. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | `running` while the connection is open. | |
| controller | Yes | Who drives the browser: `agent` (your CDP connection) or `human` (a person in the live view). | |
| expires_at | No | When the session ends at the latest, RFC 3339 UTC. | |
| session_id | Yes | The remote browser session. |