browser_html
Retrieve the current page's HTML from a browser session, with an optional character limit to control output size for DOM inspection or parsing.
Instructions
Return current page HTML (optionally truncated).
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": "browser_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||