get_current_page
Retrieve the title, URL, selected text, and visible page text from a Chrome tab. Specify a tab or limit characters.
Instructions
Extract title, URL, selected text, and visible page text from a Chrome tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_current_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Optional Chrome tab id. Defaults to the first page tab. | |
| maxChars | No | Maximum body text characters to return. |