Legal Document Handling
PDF Form Filling Strategy
- Use available PDF libraries (if installed) or CLI utilities (like pdftk or similar tools).
- CRITICAL: Always maintain the original document metadata unless explicitly told to modify it.
- Verification: Post-filling, inspect the form to confirm that key fields are populated with the correct data.
Best Practices
- Data Integrity: Never truncate or abbreviate information requested in official form fields.
- Confidentiality: Be mindful that legal documents contain PII. Avoid logging or printing sensitive document content in the conversation unless necessary for debugging.
- Workflow:
- Identify form fields.
- Map provided user data to fields.
- Perform the fill operation.
- Save as a new file (suffix "-filled").