Add pdf skill: scripts/check_fillable_fields.py

This commit is contained in:
2026-03-02 09:27:45 +00:00
parent 47ff53f88e
commit e4c6360509
+11
View File
@@ -0,0 +1,11 @@
import sys
from pypdf import PdfReader
reader = PdfReader(sys.argv[1])
if (reader.get_fields()):
print("This PDF has fillable form fields")
else:
print("This PDF does not have fillable form fields; you will need to visually determine where to enter data")