El catálogo/Google Slides
Google Slides
app.google.slides
Create, read, update, and delete slides in Google Slides presentations
Versión2.0.0
Categoríagoogle
AutenticaciónOAuth 2
Herramientas12
Transportestdio
LicenciaMIT
01
Qué hace
La aplicación, en sus propias palabras.
Create, read, update, and delete Google Slides presentations — full read/write support for slides, text, and batch operations
02
Herramientas
12 herramientas que el agente puede llamar.
Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.
- add-imageInsert an image on a slide in a Google Slides presentation from a URL. Specify position and size in points (PT). The image URL must be publicly accessible.
- add-slideAdd a new slide to a Google Slides presentation. Returns the slideObjectId of the new slide.
- add-text-boxInsert a text box shape on a slide in a Google Slides presentation. Specify position and size in points (PT). Optionally include initial text content.
- batch-updateExecute advanced operations on a Google Slides presentation using the Slides API batchUpdate endpoint. Pass an array of native Slides API request objects. Supports: createSlide, deleteObject, insertText, replaceAllText, createShape, updateShapeProperties, createImage, createTable, updatePageProperties, updateTextStyle, and more. See https://developers.google.com/slides/api/reference/rest/v1/presentations/batchUpdate for full schema.
- create-presentationCreate a new Google Slides presentation with a title. Returns the presentation ID and URL.
- delete-slideDelete a slide from a Google Slides presentation by its objectId or 0-based index.
- duplicate-slideDuplicate an existing slide in a Google Slides presentation. Creates a copy of the specified slide and inserts it immediately after the original.
- get-slideGet detailed information about a specific slide by its objectId. Returns the slide text content, page elements (shapes, images, tables), and layout metadata.
- read-presentationRead slide content from a Google Slides presentation.
- read-slideRead a specific slide from a Google Slides presentation.
- replace-textReplace all occurrences of a text string across an entire Google Slides presentation. Uses the Slides API replaceAllText request to find and replace text in all slides at once.
- update-slideUpdate the text content of a slide in a Google Slides presentation. Can target a slide by its objectId or by 0-based slide index. Uses insertText to add text to the first text element found on the slide, or replaceAllText to replace text across the entire presentation.
03
Autenticación y permisos
Qué pide.
Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.
Permisos
https://www.googleapis.com/auth/presentationshttps://www.googleapis.com/auth/presentations.readonlyhttps://www.googleapis.com/auth/userinfo.email
Secretos de sistema
CLIENT_IDCLIENT_SECRET
Secretos de usuario
ACCESS_TOKENREFRESH_TOKEN
Seguir leyendo
El manifiesto y el código de Google Slides están en el monorepo, junto al resto de aplicaciones.