Twinkle HubTwinkle Hub

讀 PDF metadata

tw_extract_pdf_metadata

更多工具 · 同一族🇹🇼 台灣唯讀

提取 PDF 元資料(不含內文)— 檔案 inventory / 分類前置判斷。

Args: source: PDF URL 或 base64-encoded 內容。

Returns: page_count + title/author/subject/creator/producer/dates/encrypted。

參數

參數型別說明
source *string—
原始 JSON schema
{
  "properties": {
    "source": {
      "title": "Source",
      "type": "string"
    }
  },
  "required": [
    "source"
  ],
  "title": "extract_pdf_metadataArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_extract_pdf_metadata({ source: "…" })