export_presentation
Export the current Slidev presentation to PDF, PNG, or a static site. Set output paths, slide ranges, and timeouts, or preview the export command with a dry run before running it.
Instructions
Export the current presentation to PDF, PNG, or SPA. Supports custom output paths inside the project, dry-run, timeout, slide range, and syntax verification.
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": {
"format": "<format>"
},
"name": "export_presentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| output | No | ||
| slides | No | ||
| dry_run | No | Preview the Slidev export command and arguments without running it. Does not return a file diff. | |
| timeout_ms | No | ||
| skip_verify | No | ||
| with_clicks | No |