Edit a PDF document by inferring form fields and filling them with provided instructions.
Either document OR template_id must be provided, but not both:
With document (standard flow):
With template_id (template-based flow, PDF only):
Note: The original model name (e.g., “retab-flash”) is preserved in the edit log. Model resolution to specific candidates happens internally during LLM calls.