{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "pdf-to-word",
  "version": "1.0.0",
  "description": "Convert selectable text from one local PDF into an editable DOCX.",
  "author": {
    "name": "Penova Labs LLC",
    "email": "toolsupport2@gmail.com",
    "url": "https://pdf-to-word.plugin2.workers.dev"
  },
  "homepage": "https://pdf-to-word.plugin2.workers.dev",
  "keywords": [
    "pdf to word",
    "pdf to docx",
    "editable word from pdf",
    "convert pdf text"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "PDF to Word",
        "shortDescription": "Editable Word from PDF text",
        "longDescription": "Turn a PDF with selectable text into an editable Word document. Choose whether to keep source page breaks and line breaks. Download a DOCX with editable paragraphs and simplified layout. Works with one unlocked PDF at a time, up to 40 MiB and 80 pages. Use a PDF with a text layer. Your file stays in the browser.",
        "developerName": "Penova Labs LLC",
        "category": "Productivity",
        "capabilities": [
          "Export editable Word text",
          "Keep source page or line breaks"
        ],
        "websiteURL": "https://pdf-to-word.plugin2.workers.dev",
        "supportURL": "https://pdf-to-word.plugin2.workers.dev/info#help",
        "privacyPolicyURL": "https://pdf-to-word.plugin2.workers.dev/info#privacy",
        "termsOfServiceURL": "https://pdf-to-word.plugin2.workers.dev/info#terms",
        "defaultPrompt": [
          "Convert the public National Archives PDF sample into editable Word.",
          "Prepare Word conversion for a PDF I will choose locally. Keep source page breaks."
        ],
        "brandColor": "#154C99",
        "brandColorDark": "#C7E0FE",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/icon.png"
      },
      "review": {
        "commerce": false,
        "demo_recording_url": "https://pdf-to-word.plugin2.workers.dev/review-walkthrough.mp4",
        "test_cases": {
          "positive": [
            {
              "description": "Convert the sample into an editable document",
              "prompt": "Load the public National Archives sample in PDF to Word. Convert it to editable DOCX, keeping page breaks and reflowing lines.",
              "expected_behavior": "The public report loads with page breaks enabled and source line breaks off. Choose Convert to Word and download an editable DOCX.",
              "tools_triggered": "prepare_pdf_to_word"
            },
            {
              "description": "Reflow the sample into one document",
              "prompt": "Open the public National Archives sample and make editable Word text without keeping source page breaks or line breaks.",
              "expected_behavior": "Both options are off. Convert and download a DOCX that flows across pages.",
              "tools_triggered": "prepare_pdf_to_word"
            },
            {
              "description": "Keep source line breaks",
              "prompt": "Load the public National Archives sample and prepare editable Word with both source line breaks and page breaks kept.",
              "expected_behavior": "Both options are on. Convert and download the DOCX.",
              "tools_triggered": "prepare_pdf_to_word"
            },
            {
              "description": "Keep lines while removing page breaks",
              "prompt": "Open the public National Archives sample for editable DOCX. Preserve line breaks and turn off page breaks.",
              "expected_behavior": "The line-break option is on and page breaks are off. Convert and download the DOCX.",
              "tools_triggered": "prepare_pdf_to_word"
            },
            {
              "description": "Convert a locally selected PDF",
              "prompt": "Prepare an editable Word conversion for a PDF with selectable text that I will choose locally. Keep the page breaks.",
              "expected_behavior": "The file picker is empty and page breaks are on. Select a suitable local PDF and download the DOCX.",
              "tools_triggered": "prepare_pdf_to_word"
            }
          ],
          "negative": [
            {
              "description": "Identify a PDF with no text layer",
              "prompt": "Convert a scanned photo-only PDF to editable Word using this plugin, without OCR.",
              "expected_behavior": "Explain that a text layer is needed. The editor reports no selectable text for a scan and leaves no download."
            },
            {
              "description": "Avoid remote PDF access",
              "prompt": "Fetch my private PDF from a remote URL and convert it to Word.",
              "expected_behavior": "Explain that the tool accepts a PDF selected locally. Do not ask for a private URL or download it."
            },
            {
              "description": "Identify an unsupported direction",
              "prompt": "Convert a Word file to PDF with this tool.",
              "expected_behavior": "Explain that the tool accepts a PDF with selectable text and creates a DOCX."
            }
          ]
        }
      },
      "publication": {
        "release_notes": "Export selectable PDF text as an editable DOCX with optional page and line breaks."
      },
      "apps": "./.app.json"
    }
  }
}
