Use this file to discover all available pages before exploring further.
GoogleSlidesTools enable an Agent to create, manage, and manipulate Google Slides presentations. Add slides with various layouts, insert text boxes, tables, images, and videos, read slide content, and manage slide order.
from agno.agent import Agentfrom agno.models.google import Geminifrom agno.tools.google.slides import GoogleSlidesToolsagent = Agent( model=Gemini(id="gemini-2.0-flash"), tools=[ GoogleSlidesTools( oauth_port=8080, ) ], instructions=[ "You are a Google Slides assistant that helps users create and manage presentations.", "Always call get_presentation_metadata before modifying slides to get current slide IDs.", "Use slide_id values returned by the API -- never guess them.", "Return the presentation ID and URL after creating a presentation.", ], add_datetime_to_context=True, markdown=True,)agent.print_response( "Create a new Google Slides presentation titled 'Quarterly Business Review'. " "Then add the following slides: " "1. A TITLE slide with title 'Q3 2025 Business Review' and subtitle 'Prepared by the Strategy Team'. " "2. A TITLE_AND_BODY slide with title 'Agenda' and body listing: Revenue Overview, Key Metrics, Product Roadmap, Q4 Goals.", stream=True,)
Add a slide with a layout and optional text. Parameters: presentation_id (str), layout (str), title (str), subtitle (str), body (str), body_2 (str), insertion_index (int)
add_text_box
Create a positioned text box on a slide. Parameters: presentation_id (str), slide_id (str), text (str), x (float), y (float), width (float), height (float)
Set a publicly accessible image as slide background. Parameters: presentation_id (str), slide_id (str), image_url (str)
duplicate_slide
Duplicate a slide (copy inserted after original). Parameters: presentation_id (str), slide_id (str)
move_slides
Reorder slides to a target position. Parameters: presentation_id (str), slide_ids (list[str]), insertion_index (int)
insert_youtube_video
Embed a YouTube video on a slide. Parameters: presentation_id (str), slide_id (str), video_id (str), x (float), y (float), width (float), height (float)
insert_drive_video
Embed a Google Drive video on a slide. Parameters: presentation_id (str), slide_id (str), file_id (str), x (float), y (float), width (float), height (float)
batch_update_presentation
Apply raw batch update requests for advanced operations. Parameters: presentation_id (str), requests (list[dict])