browser_get_page_source
Retrieve the HTML source code of the current browser page for content extraction or structural analysis.
Instructions
Get the HTML source code of the current page.
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_get_page_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| max_length | No | Maximum length of source to return (truncated if exceeded) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |