feat: Add GoogleSlidesTools toolkit (Closes #6829)#6830
Open
anshul-jain-devx108 wants to merge 11 commits intoagno-agi:mainfrom
Open
feat: Add GoogleSlidesTools toolkit (Closes #6829)#6830anshul-jain-devx108 wants to merge 11 commits intoagno-agi:mainfrom
anshul-jain-devx108 wants to merge 11 commits intoagno-agi:mainfrom
Conversation
Author
|
Hi @ashpreetbedi , @kausmeows, @willemcdejongh , I've submitted this PR and would love a review when you get a chance! Also, could someone approve the 2 pending workflows? Happy to make any requested changes. |
…slides into google directory as per pull request agno-agi#6833
Author
|
Hello @uzaxirr, @kausmeows, @ashpreetbedi , I’ve refactored the code according to PR #6833.I would really appreciate a review when you have time. Happy to make any further changes if needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
GoogleSlidesToolstoolkit that enables Agno agents to create, read, and manage Google Slides presentations via the Google Slides API.This completes Google Workspace coverage in Agno — Sheets, Docs, Drive, Calendar, Gmail all have toolkits, but Slides was missing.
The toolkit provides 19 tools covering presentation management, slide operations, content creation, content reading, and advanced batch updates. Authentication follows the same pattern as
GoogleSheetsTools(OAuth, env vars, service account).Issue: #6829
Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)Additional Notes
Files Added
libs/agno/agno/tools/googleslides.pylibs/agno/tests/unit/tools/test_googleslides.pycookbook/91_tools/googleslides_tools.pyTools Included
Presentation Management: create, get, list, delete, get_metadata
Slide Operations: add, delete, duplicate, move
Content Creation: text box, table, background image, YouTube video, Drive video
Content Reading: read all text, slide text, get page, thumbnail URL
Advanced: batch update with request type validation
Dependencies
Uses the same packages as existing Google toolkits — no new dependencies:
google-api-python-clientgoogle-auth-httplib2google-auth-oauthlibValidation Results
./scripts/format.sh → 1 file reformatted, all checks passed
./scripts/validate.sh → ruff: passed, mypy: 0 issues in 760 files, cookbook: 0 violations
Environment Variables