tosea_export_presentation
Export completed presentations to PDF, PPTX, or image-based PPTX formats for sharing and distribution.
Instructions
Queue an export job for a completed presentation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| output_format | Yes | ||
| idempotency_key | No |
Implementation Reference
- src/tools.ts:292-313 (handler)The tool 'tosea_export_presentation' is defined and registered in src/tools.ts. It validates inputs via Zod and calls client.exportPresentation to handle the logic.
server.tool( "tosea_export_presentation", "Queue an export job for a completed presentation.", { presentation_id: z.string().uuid(), output_format: z.enum(["pdf", "pptx", "pptx_image"]), idempotency_key: z.string().min(8).optional() }, async ({ presentation_id, output_format, idempotency_key }) => { try { return asToolResult( await client.exportPresentation({ presentationId: presentation_id, outputFormat: output_format, idempotencyKey: idempotency_key }) ); } catch (error) { throw wrapToolError(error); } } );