Twinkle HubTwinkle Hub

抽 PDF 指定頁

tw_extract_pdf_pages

기타 · 26개🇹🇼 대만읽기 전용

提取指定頁碼之 PDF 內文(節省成本,跳過 boilerplate)。

Args: source: PDF URL 或 base64-encoded。 pages: 頁碼字串(1-indexed),支援 "1,3,5"、"2-5"、"1,3-5,8"。

파라미터

이름타입설명
source *string
pages *string
원본 JSON schema
{
  "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: "…" })