← All toolsFiles & Documentspptx_handlerAll editions

Create Pptx

Generates a new PowerPoint from a JSON outline. Each slide can have title, subtitle, content (bullet list), notes, and an image_path.

Parameters

NameTypeRequiredDescription
pathstringyesAbsolute path to the new .pptx file
slidesarray-Slide objects with 'title', 'subtitle', 'layout', 'content' (string[]), 'table_data' (headers/rows). Either provide 'slides' OR use a 'template'.
templatepitch_deck | analyst_profile-Optional built-in template to use instead of manually defining slides. Automatically forces high-quality infographics and tables.
template_dataobject-Data payload for the chosen template (e.g. company_name, financials, competitors, team).
theme_colorstring-Hex color for titles. MUST use premium modern UI colors (e.g. Tailwind Slate, Emerald, Blue). Avoid harsh primary colors.
bg_colorstring-Hex color for backgrounds. MUST use premium modern UI colors (e.g. Tailwind 900 for dark mode).

How to use it

You normally trigger this by describing what you want in chat; the agent selects CREATE_PPTX automatically. For example:

Try saying
“create a pptx handler document”

In a workflow

As a step in a multi-step workflow DAG:

json
{
  "id": "s1",
  "agent": "pptx_handler",
  "action": "CREATE_PPTX",
  "args": {
    "path": "/Users/me/Documents/file.txt"
  },
  "depends_on": [],
  "outputs": []
}

Direct call

For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.

bash
curl -X POST http://127.0.0.1:8000/execute_tool \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"CREATE_PPTX","args":{"path":"/Users/me/Documents/file.txt"}}'

Part of the pptx_handler plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.