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: "…" })