prepare_design_slide
Generates the prompt and JSON schema needed to create a slide design spec. Returns system prompt, user prompt, and response schema for one slide.
Instructions
Prepares the prompt + JSON schema for the CLIENT to generate ONE slide's design spec.
No LLM call. Returns the system prompt, user prompt (with adjacent-slide
context and DESIGN.md directives baked in), the response_schema the spec
must match, and a thinking_budget hint. Generate the slide spec JSON that
conforms to response_schema, then call ingest_design_slide.
Parallelize across slides: call prepare→generate→ingest for each slide
concurrently. Slides are independent server-side. Call
prepare_design_doc_draft/ingest_design_doc_draft FIRST so all slides share
one theme.
Args: project_id: Project ID (required). slide_index: 1-based slide number to generate. outline_json: Full outline JSON. Optional if project_id has a saved outline. total_slides: Total slide count (0 = infer from outline). color_theme: Color theme ("dark" or "light").
Returns: JSON with system_prompt, user_prompt, response_schema, slide_type, thinking_budget, project_id, slide_index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| color_theme | No | dark | |
| slide_index | Yes | ||
| outline_json | No | ||
| total_slides | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |