Expand description
Google integrations for the agent platform.
This crate groups tools for Google services. Calendar tools are available today; Gmail tools can be added here without introducing another crate.
Re-exports§
pub use oauth::CalendarScope;pub use oauth::GoogleOAuthConfig;pub use oauth::GoogleOAuthError;pub use oauth::GoogleTokenSet;pub use oauth::GoogleUserInfo;pub use oauth::PendingAuthorization;pub use oauth::exchange_code;pub use oauth::fetch_user_info;pub use oauth::refresh_access_token;pub use oauth::revoke_token;
Modules§
- oauth
- Google OAuth 2.0 Authorization Code flow helpers.
Structs§
- Google
Calendar Runtime Config - Server-composed configuration for Google Calendar tool execution.
- Google
Calendar Summary - GoogleO
Auth Token Manager
Functions§
- list_
calendars - Fetch every calendar visible to the connected Google account.
- list_
calendars_ with_ access_ token - Fetch calendars using an already-refreshed access token. The caller must
coordinate refreshes through
GoogleOAuthTokenManager. - register_
tools - Register all Google tools.