view_page
Fetch HTML content and structure from a local dev server to inspect page title, meta tags, script sources, and visible text. Optionally return full raw HTML for in-depth analysis.
Instructions
Fetch the HTML content and structure of a page on a running local dev server. Returns the page title, meta tags, script sources, and visible text. Optionally returns the full raw HTML.
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": {
"port": "<port>"
},
"name": "view_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | URL path to fetch (e.g. /about, /dashboard) | / |
| port | Yes | The localhost port the dev app is running on (e.g. 5173, 3000) | |
| include_raw_html | No | Include the full raw HTML in the response (may be large) |