tosea_redownload_export
Generate a new download link for previously exported presentation files (PDF, PPTX, PPTX with images) when original links expire or become inaccessible.
Instructions
Get a fresh download URL for an existing exported file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| export_type | Yes | ||
| filename | Yes |
Implementation Reference
- src/tools.ts:410-429 (handler)The "tosea_redownload_export" tool definition and its handler, which calls client.redownloadExport.
server.tool( "tosea_redownload_export", "Get a fresh download URL for an existing exported file.", { presentation_id: z.string().uuid(), export_type: z.enum(["pdf", "pptx", "pptx_image"]), filename: z.string().min(1) }, async ({ presentation_id, export_type, filename }) => { try { return asToolResult( await client.redownloadExport({ presentationId: presentation_id, exportType: export_type, filename }) ); } catch (error) { throw wrapToolError(error); }