session_state
Retrieve the current page's interactive elements as a compact indexed list, enabling targeted clicks and inputs using those indexes.
Instructions
Get the current page state as an indexed list of interactive elements. Returns compact text with [N] indexes for use with click/input tools.
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": "session_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID |