export_pptx
Export design specs as editable PPTX files. Provide design spec JSON or a project ID to auto-load the spec.
Instructions
Exports the design spec as an editable PPTX file.
Operates in two modes:
When design_spec_json is provided: Generates PPTX directly from design spec (fast and accurate)
When only project_id is provided: Auto-loads design spec from project directory to generate PPTX (recommended)
Args: design_spec_json: Design spec JSON string project_id: Project ID (auto-generated if not specified). When provided alone, auto-loads the design spec
Returns: JSON string containing project_id and pptx_path
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_pptx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| design_spec_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |