tosea_edit_outline_page
Edit outline content in presentations by modifying or inserting text on specific pages using the MCP edit contract.
Instructions
Modify or insert outline content synchronously through the aggregated MCP edit contract.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| page_number | Yes | ||
| action | Yes | ||
| instruction | Yes | ||
| model_name | No | ||
| after_slide | No | ||
| idempotency_key | No |
Implementation Reference
- src/tools.ts:191-215 (handler)The handler implementation for the tosea_edit_outline_page tool, which calls the client's editOutlinePage method.
async ({ presentation_id, page_number, action, instruction, model_name, after_slide, idempotency_key }) => { try { return asToolResult( await client.editOutlinePage({ presentationId: presentation_id, pageNumber: page_number, action, instruction, modelName: model_name, afterSlide: after_slide, idempotencyKey: idempotency_key }) ); } catch (error) { throw wrapToolError(error); } } - src/tools.ts:179-215 (registration)Registration of the tosea_edit_outline_page tool with its schema definition and handler.
server.tool( "tosea_edit_outline_page", "Modify or insert outline content synchronously through the aggregated MCP edit contract.", { presentation_id: z.string().uuid(), page_number: z.number().int().min(1), action: z.enum(["modify", "insert"]), instruction: z.string().min(1), model_name: z.string().optional(), after_slide: z.number().int().min(1).optional(), idempotency_key: z.string().min(8).optional() }, async ({ presentation_id, page_number, action, instruction, model_name, after_slide, idempotency_key }) => { try { return asToolResult( await client.editOutlinePage({ presentationId: presentation_id, pageNumber: page_number, action, instruction, modelName: model_name, afterSlide: after_slide, idempotencyKey: idempotency_key }) ); } catch (error) { throw wrapToolError(error); } }