Skip to content

API Reference parrot_tools.google.base

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.google.base

View source

Base classes for Google Workspace tools.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Alias AbstractToolArgsSchema

Re-exported from parrot_tools.abstract.AbstractToolArgsSchema.

Class GoogleAuthMode

Authentication modes available for Google tools.

Class GoogleBaseTool

Base class for Google Workspace tools leveraging :class:GoogleClient.

Parameter Type Default Description
credentials Optional[Union[str, Dict[str, Any], Path]] None
default_auth_mode str GoogleAuthMode.SERVICE_ACCOUNT
scopes Optional[Union[str, List[str]]] None
user_creds_cache_file Optional[Union[str, Path]] None
open_browser bool True
login_callback Optional[Callable[[str], Optional[bool]]] None
interactive_login_kwargs Optional[Dict[str, Any]] None
interactive_timeout int 300
**kwargs {}

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]
return_direct bool

Method GoogleBaseTool.clear_client_cache

Clear cached client instances.

clear_client_cache() -> None

Class GoogleToolArgsSchema

Base schema for Google tool arguments.

Attributes:

Attribute Type Description
auth_mode Optional[str]
scopes Optional[Union[str, List[str]]]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally