typst_export_pdf
Sync a typst.app project's text and binary files, compile the document to PDF, and save it to a local output path.
Instructions
Synchronize all text and binary files from a https://typst.app project, compile the document to PDF, and save it to outputPath.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "typst_export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mainFile | No | Optional main .typ entry file override | |
| projectId | Yes | The Typst project ID | |
| outputPath | No | Optional local filesystem path to save the compiled PDF |