Twinkle HubTwinkle Hub

讀 PDF metadata

tw_extract_pdf_metadata

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

提取 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"
}

호출 방법

스타터 — 파라미터는 위 표 참조
tw_extract_pdf_metadata({ source: "…" })