get_session_info
Check bridge connection state to confirm a host page is connected, identify mode, preview URL, event count, and version before relying on other preview tools.
Instructions
Returns bridge connection state: whether a host page is connected, in which mode (hosted-iframe vs top-level), the preview URL if known, total event count, and bridge version. Use to verify the bridge is actually receiving data before relying on other tools.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_session_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||