Stage PDF for Upload
prepare_application_pdf_uploadPrepare an application's rendered PDF for Playwright upload by staging a disposable copy and returning its absolute file path; renders it first if missing.
Instructions
Stage a disposable copy of an application's canonical rendered PDF for direct Playwright upload. If the PDF has not been rendered, render it and retry once. Writes atomically under $MAESTRO_CS_UPLOAD_DIR/<application_id>/, defaulting to the repository's .playwright-mcp/uploads directory (pair Playwright --output-dir with the parent .playwright-mcp tree). Returns upload_path, an absolute path usable directly by Playwright's file chooser. The staged copy is the only location intended for browser file uploads; the canonical server artifact (under applications/artifact_dir) is preserved and is not an upload source. Also returns filename/path integrity and PDF lint metadata. This preparation tool does not authorize or submit an application.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | Yes |