browser_get_resource_content
Retrieve cached resource content from web pages to analyze JavaScript, CSS, HTML, and other files for understanding API patterns, endpoints, and data models.
Instructions
[Disabled] Read the content of a specific resource (JS, CSS, HTML, etc.) loaded by a page. Returns content from the browser cache — does not re-fetch the resource. Use browser_list_resources first to find the resource URL you want to read. Useful for reading minified JavaScript to understand API patterns, endpoints, data models, and authentication. Text content is returned as a string; binary resources (images, fonts, wasm) are returned as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID that loaded the resource | |
| url | Yes | The full URL of the resource to read (from browser_list_resources output) | |
| maxLength | No | Maximum content length to return (default: 500000). Text content exceeding this is truncated. |