set_pdf_metadata
Modify PDF metadata including title, author, subject, creator, producer, and keywords. Choose to preserve existing metadata or replace it.
Instructions
Write or update PDF metadata fields.
Args:
file_path: Path to source PDF file
output_file: Output PDF file path (optional, defaults to overwrite source)
title: Document title
author: Document author
subject: Document subject
creator: Creator application name
producer: Producer application name
keywords: Keywords or tags (comma-separated)
preserve_existing: Whether to preserve existing metadata (default: True)
Returns:
JSON string with operation resultsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_file | No | ||
| title | No | ||
| author | No | ||
| subject | No | ||
| creator | No | ||
| producer | No | ||
| keywords | No | ||
| preserve_existing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |