Skip to content

Include slide IDs in slides.getMetadata output #197

@allenhutchison

Description

@allenhutchison

The slides.getMetadata tool currently fetches slide IDs from the Google Slides API but does not return them in the tool's output. It only returns the slide count.

To enable workflows like fetching thumbnails for all slides in a presentation, we need access to the objectId for each slide.

Proposed Change:
Update workspace-server/src/services/SlidesService.ts in the getMetadata method to include the list of slides in the returned object:

const metadata = {
  // ... existing fields
  slides: presentation.data.slides?.map((s) => ({ objectId: s.objectId })) || [],
  // ...
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions