write-pdf-metadata
Add or modify metadata in PDF files, including Title, Author, Subject, and Keywords, using URLs or base64-encoded inputs for streamlined document processing.
Instructions
Write metadata to PDF files.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | Yes | Array of URLs or base64-encoded PDFs | |
inputMethod | Yes | Input method | |
metadata | Yes | Metadata to write |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"files": {
"description": "Array of URLs or base64-encoded PDFs",
"items": {
"type": "string"
},
"type": "array"
},
"inputMethod": {
"description": "Input method",
"enum": [
"url",
"base64"
],
"type": "string"
},
"metadata": {
"additionalProperties": false,
"description": "Metadata to write",
"properties": {
"Author": {
"type": "string"
},
"Creator": {
"type": "string"
},
"Keywords": {
"type": "string"
},
"Producer": {
"type": "string"
},
"Subject": {
"type": "string"
},
"Title": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"inputMethod",
"files",
"metadata"
],
"type": "object"
}