moonlight_pages
Extract text from a reader tab page by page, using local PDF text first and browser text as fallback for up to 10 pages while reporting extraction method and missing content.
Instructions
优先从页面提供的原始 PDF 在本机按页提取文字;来源不支持时回退到浏览器文本层。一次最多 10 页,报告提取方式和缺失状态。公式和图片需对照 PDF。
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": {
"tabId": "<tabId>",
"startPage": "<startPage>",
"endPage": "<endPage>"
},
"name": "moonlight_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | moonlight_tabs 返回的 tabId | |
| endPage | Yes | ||
| startPage | Yes |