Skip to main content
Glama

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
NameRequiredDescriptionDefault
presentation_idYes
page_numberYes
actionYes
instructionYes
model_nameNo
after_slideNo
idempotency_keyNo

Implementation Reference

  • 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);
        }
      }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ToseaAI/mcp-ToseaAI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server