tosea_generate_outline
Generate structured outlines for existing presentations to organize content and prepare for slide creation.
Instructions
Queue outline generation for an existing presentation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| instruction | No | ||
| render_provider | No |
Implementation Reference
- src/tools.ts:164-175 (handler)The tool handler for 'tosea_generate_outline' which calls the client's generateOutline method.
async ({ presentation_id, instruction, render_provider }) => { try { return asToolResult( await client.generateOutline({ presentationId: presentation_id, instruction, renderProvider: render_provider }) ); } catch (error) { throw wrapToolError(error); } - src/tools.ts:156-163 (registration)Registration of the 'tosea_generate_outline' tool including its input schema.
server.tool( "tosea_generate_outline", "Queue outline generation for an existing presentation.", { presentation_id: z.string().uuid(), instruction: z.string().default(""), render_provider: z.string().optional() }, - src/http.ts:144-155 (helper)The client implementation that performs the actual network request to the Tosea API.
async generateOutline(input: { presentationId: string; instruction?: string | undefined; renderProvider?: string | undefined; }): Promise<ApiEnvelope<Record<string, unknown>>> { return this.request("/outline-generate", { method: "POST", body: { presentation_id: input.presentationId, instruction: input.instruction ?? "", render_provider: input.renderProvider ?? undefined },