tb_snapshot
Capture a structured snapshot of the current browser page—title, URL, headings, links/buttons, and truncated body text—so an agent can inspect content before choosing what to click.
Instructions
Return a structured snapshot of the current page: title, URL, headings, links/buttons with their text, and a truncated body. Use this as the agent's 'see the page' primitive before deciding what to click.
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": {
"sessionId": "<sessionId>"
},
"name": "tb_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyChars | No | How many characters of body innerText to include (default 5000, max 50000). | |
| sessionId | Yes | Session ID from tb_openBrowser |