提取指定頁碼之 PDF 內文(節省成本,跳過 boilerplate)。
Args: source: PDF URL 或 base64-encoded。 pages: 頁碼字串(1-indexed),支援 "1,3,5"、"2-5"、"1,3-5,8"。
提取指定頁碼之 PDF 內文(節省成本,跳過 boilerplate)。
Args: source: PDF URL 或 base64-encoded。 pages: 頁碼字串(1-indexed),支援 "1,3,5"、"2-5"、"1,3-5,8"。
| Nom | Type | Description |
|---|---|---|
| source * | string | — |
| pages * | string | — |
{
"properties": {
"source": {
"title": "Source",
"type": "string"
},
"pages": {
"title": "Pages",
"type": "string"
}
},
"required": [
"source",
"pages"
],
"title": "extract_pdf_pagesArguments",
"type": "object"
}tw_extract_pdf_pages({ source: "…" })