Render a Quarto project
quarto_renderRender a Quarto project or individual file to formats like HTML or PDF, with optional code execution. Failures return success status and captured output for debugging.
Instructions
Render the project, or one input file. Code execution is off unless execute is true. A Quarto failure is reported as success: false, with stdout and stderr preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | An output format, for example "html" or "pdf". | |
| input | No | A file relative to the project root. When absent the project is rendered. | |
| output | No | An output file relative to the project root. | |
| execute | No | Execute code in documents. Off by default. This is not a sandbox. | |
| projectId | Yes | The id returned by quarto_create_project. |