integrations library
External cloud, platform, and third-party service integrations.
Exports connectors and toolsets for Google Cloud (API Registry, BigQuery, Cloud Run, Eventarc, Firestore, GCS, Secret Manager, Parameter Manager, Model Armor), Google Maps Platform, OpenAI, CrewAI, LangChain, LiveKit, ElevenLabs, MongoDB, Redis, Daytona, E2B, OpenSandbox, Slack, and Teams.
import 'package:adk_dart/integrations.dart';
Classes
- AgentEngineClient
- Client for executing remote queries against Vertex AI Reasoning Engine / Agent Engine.
- AgentEngineConfig
- Configuration for connecting to Vertex AI Agent Engine.
- AgentEngineEnvironment
- Execution environment backed by a Vertex AI Agent Engine (VMaaS) sandbox.
- AgentEngineEnvironmentClient
- Client interface for interacting with a Vertex AI Agent Engine code execution sandbox.
- AgentEngineSandboxComputer
- BaseComputer implementation backed by a Vertex AI Agent Engine (VMaaS) browser sandbox via Chrome DevTools Protocol (CDP).
- AgentIdentityCredentialsClient
- Abstract client for the Google Cloud Agent Identity Credentials API.
- AgentIdentityCredentialsProvider
- Credentials provider backed by Google Cloud Agent Identity.
- AgentIdentityCredentialsResponse
- Response returned from AgentIdentityCredentialsClient.getCredentials.
- AgentIdentityHttpAuthorization
- HTTP authorization header/token pair returned by Agent Identity.
- AgentProvided
- Indicates that a CloudEvent attribute should be provided by the LLM agent.
- AgentRegistry
- Client for interacting with Google Cloud Agent Registry.
- AgentRegistryCredentials
- Refreshable Google Cloud credentials used by AgentRegistry.
- AgentRegistryHttpResponse
- HTTP GET response payload used by AgentRegistry.
- AgentRegistryRemoteA2aAgent
- Remote A2A agent constructed from an Agent Registry entry.
- AgentRegistrySingleMcpToolset
- MCP toolset backed by a single registered Agent Registry MCP server.
- ApiRegistry
- Registry that resolves MCP-backed toolsets for ADK tools.
- ApiRegistryHttpResponse
- HTTP GET response payload used by ApiRegistry.
- AzureBackendAdapter
-
Reads and writes object metadata on Azure Blob Storage (
adlfs). - AzureBlobFsspecFilesystem
-
Pure Dart REST FilesystemProtocol implementation for Azure Blob Storage
(
abfs://,abfss://,az://) with native SharedKey HMAC-SHA256 signing, SAS token, and Bearer token authentication. - AzureOpenAIResponsesLlm
- Azure OpenAI-compatible Responses API model adapter.
- BigQueryClient
- BigQuery client interface.
- BigQueryConnectionProperty
- Query connection property key-value pair.
- BigQueryCredentialsConfig
- Credential configuration for BigQuery tools.
- BigQueryDatasetListItem
- Dataset list item abstraction.
- BigQueryDatasetReference
- BigQuery dataset identifier with project scope.
- BigQueryJobInfo
- BigQuery job metadata abstraction.
- BigQueryQueryJob
- BigQuery query job abstraction.
- BigQueryQueryJobConfig
- Configuration options for BigQuery query jobs.
- BigQueryResourceInfo
- BigQuery resource metadata abstraction.
- BigQuerySessionInfo
- Session information returned by query jobs.
- BigQueryTableListItem
- Table list item abstraction.
- BigQueryTableReference
- BigQuery table identifier with dataset scope.
- BigQueryToolConfig
- Runtime configuration for BigQuery-backed tools.
- BigQueryToolset
- Toolset that exposes BigQuery query, metadata, and insights tools.
-
BoundedLruCache<
K, V> - In-memory bounded least-recently-used (LRU) cache backed by LinkedHashMap.
- CheckGroundingClient
- Verifies answers against facts with the Discovery Engine CheckGrounding API.
- CloudEventAttributesBinding
- Configuration binding CloudEvent attributes to static values, callbacks, or AgentProvided fields.
- CloudRunSandboxCodeExecutor
-
Executes Python code inside a Cloud Run sandbox using the
sandboxCLI tool. - CrewaiTool
- Adapter that exposes CrewAI tools through ADK FunctionTool.
- CrewaiToolConfig
- Configuration model for CrewaiTool.
- DataplexCatalogClient
- Dataplex catalog client interface.
- DataplexSearchEntryResult
- One Dataplex catalog search result projected into ADK fields.
- DaytonaEnvironment
- A persistent remote workspace sandbox backed by Daytona.
- DefaultElevenLabsSpeechClient
- Default HTTP and WebSocket implementation of ElevenLabsSpeechClient.
- DefaultEventarcPublisherClient
- Default HTTP EventarcPublisherClient implementation.
- DefaultSlackSocketModeHandler
- Default WebSocket-based Socket Mode handler for Slack.
- DomainSpecificPublishTool
-
Domain-specific GoogleTool wrapper around Eventarc
publish_message. - E2BEnvironment
- Execution environment backed by an E2B cloud sandbox.
- E2BSandboxClient
- Abstract client interface for managing an E2B sandbox instance.
- ElevenLabsRealtimeEvents
- Event names emitted by an ElevenLabsRealtimeSttConnection.
- ElevenLabsRealtimeSttConnection
- Active realtime speech-to-text WebSocket session with ElevenLabs.
- ElevenLabsSpeechClient
- Transport client interface for ElevenLabs STT and TTS APIs.
- ElevenLabsSTT
- ElevenLabs Realtime speech-to-text LiveIngress transform.
- ElevenLabsTTS
- ElevenLabs streaming text-to-speech LiveEgress transform.
- Endpoint
- Full metadata for a registered Agent Registry endpoint.
- EventarcCredentialsConfig
- Credentials configuration for Eventarc.
- EventarcLoopScope
- Represents an event loop scope for Eventarc publisher client caching.
- EventarcPublisherClient
- Client abstraction for Eventarc Advanced publishing.
- EventarcToolConfig
- Configuration options for the Eventarc publish tool.
- EventarcToolset
- Toolset for publishing structured CloudEvents to Eventarc Advanced buses.
- Fact
- A piece of evidence that responses are checked against.
- FactChunk
- A piece of evidence that a grounding check verifies an answer against.
- FilesystemProtocol
- Structural contract for fsspec-compatible filesystem backends.
- FirestoreDatabaseClient
- Injectable client interface for Google Cloud Firestore operations.
- FirestoreDocumentSnapshot
- Snapshot of a single Firestore document.
- FirestoreFieldFilter
- Single field filter predicate applied to a Firestore collection query.
- FirestoreMemoryService
- Memory service backed by Google Cloud Firestore.
- FirestoreSessionService
- Session service backed by Google Cloud Firestore.
- FsspecArtifactService
-
Artifact service backed by any
fsspec-compatible filesystem. - FsspecBackendAdapter
- Creates version objects and reads their metadata for one fsspec backend.
- FsspecObjectMetadata
- Normalized storage metadata for a single stored artifact version.
- FsspecWriteStream
- Writable stream handle returned by FilesystemProtocol.openWrite.
- GcpAuthProvider
- Composite authentication provider for Google Cloud Auth Providers and IAM Connectors.
- GcpAuthProviderScheme
- Security scheme identifying a Google Cloud Auth Provider or IAM Connector.
- GcpIamConnectorAuth
- Authentication scheme that delegates OAuth flow handling to a GCP IAM connector.
- GcpSkillRegistry
- Google Cloud implementation of SkillRegistry.
- GcpSkillRegistryHttpResponse
- HTTP response payload used by GcpSkillRegistry.
- GCSAdminTool
- Google-credential-aware tool for GCS bucket administration operations.
- GCSAdminToolset
- GCS Admin Toolset containing tools for interacting with GCS buckets.
- GcsBackendAdapter
-
Reads and writes object metadata on Google Cloud Storage (
gcsfs). - GcsBlobClient
- Injectable blob handle inside a GcsBucketClient.
- GcsBucketClient
- Injectable bucket handle inside a GcsClient.
- GcsClient
- Injectable client interface for Google Cloud Storage operations.
- GCSCredentialsConfig
- GCS Credentials Configuration for Google API tools.
- GcsFsspecFilesystem
-
Pure Dart REST FilesystemProtocol implementation for Google Cloud Storage
(
gs:///gcs://) using the GCS JSON API. -
GcsPageResult<
T> - Paginated list response returned by GcsClient.listBuckets or GcsBucketClient.listBlobs.
- GCSStorageTool
- Google-credential-aware tool for GCS object storage operations.
- GCSToolset
- GCS Toolset containing tools for interacting with GCS object storage.
- GCSToolSettings
- Settings for Google Cloud Storage tools.
- GenericBackendAdapter
- Fallback adapter for backends without custom object metadata.
- GoogleCloudModelArmorClient
- Default REST-based ModelArmorClient targeting Google Cloud Model Armor.
- GoogleMapsConfig
- Manages credentials and default API settings for Google Maps Platform.
- GoogleMapsToolset
- Toolset for Street View, Address Validation, and Geocoding.
- GroundingClient
- A backend that checks how well facts support an answer.
- GroundingLimits
- Capacity limits that a grounding backend enforces.
- GroundingPlugin
- Verifies final model responses against a fixed set of facts.
- GroundingResult
- Outcome of a grounding check and the signals it produced.
- HttpAgentEngineEnvironmentClient
-
Live Vertex AI
v1beta1REST implementation of AgentEngineEnvironmentClient. - HttpAgentIdentityCredentialsClient
- Default HTTP/configurable implementation of AgentIdentityCredentialsClient.
- HttpE2BSandboxClient
- Default HTTP / in-memory fallback implementation of E2BSandboxClient.
- HttpFirestoreDatabaseClient
- Live Firestore REST v1 implementation of FirestoreDatabaseClient.
- HttpGcsClient
- Live GCS JSON REST v1 implementation of GcsClient.
- HttpIamConnectorCredentialsClient
- Default HTTP implementation of IamConnectorCredentialsClient.
- HttpOciGenAiClient
- Default HTTP/SSE implementation of OciGenAiClient.
- HttpOpenAiChatCompletionsClient
- HTTP-backed OpenAiChatCompletionsClient for the OpenAI Chat Completions API.
- HttpOpenAiResponsesClient
- HTTP-backed OpenAiResponsesClient for the OpenAI Responses API.
- HttpOpenSandboxClient
- HTTP-backed OpenSandboxClient speaking the OpenSandbox REST API.
- HttpVmaasVertexAiControlClient
-
Live Vertex AI
v1beta1REST implementation of VmaasVertexAiControlClient. - IamConnectorCredentialsClient
- Abstract client for the Google Cloud IAM Connectors API.
- IamConnectorCredentialsProvider
- Credentials provider backed by Google Cloud IAM Connectors.
- IamConnectorOperation
- Long-running operation returned by the Google Cloud IAM Connectors API.
- InMemoryFirestoreDatabaseClient
- In-memory implementation of FirestoreDatabaseClient.
- InMemoryFsspecFilesystem
-
In-memory FilesystemProtocol implementation for
memory://URLs and unit testing of object-store and POSIX-like fsspec backends. - InMemoryGcsClient
- In-memory implementation of GcsClient shared by default across calls unless reset.
- InMemoryLiveKitLocalParticipant
- In-memory implementation of LiveKitLocalParticipant.
- InMemoryLiveKitRoomClient
- In-memory implementation of LiveKitRoomClient for testing and local runs.
- InMemoryLiveKitTextStreamWriter
- In-memory implementation of LiveKitTextStreamWriter.
- InMemoryModelArmorClient
- In-memory ModelArmorClient implementation for local development and tests.
- InMemoryMongoDbClient
-
In-memory implementation of MongoDbClient supporting
$vectorSearch,$search,$rankFusion,$match,$limit,$addFields, and$project. - InMemoryMongoDbSessionClient
- In-memory implementation of MongoDbSessionClient.
- InMemoryMongoDbSessionCollection
- In-memory implementation of MongoDbSessionCollection for testing and local use.
- InMemoryMongoDbSessionDatabase
- In-memory implementation of MongoDbSessionDatabase.
- InMemoryRedisStoreClient
- In-memory implementation of RedisStoreClient supporting TTLs and glob matching.
- InMemoryVmaasVertexAiControlClient
- Default in-memory implementation of VmaasVertexAiControlClient.
- Interface
- Details for a single connection interface on an Agent Registry Endpoint.
- LangchainTool
- Adapter that exposes LangChain tools through ADK FunctionTool.
- LangchainToolConfig
- Configuration model for LangchainTool.
- LiveKitAudioFrame
- Raw PCM audio frame transmitted over LiveKit.
- LiveKitCall
- Active call handle registered during a LiveKitRunner session.
- LiveKitChatMessage
- Inbound text message received on a LiveKit text stream topic.
- LiveKitDataPacket
- Recorded data packet published to or received from a LiveKit room.
- LiveKitDtmfEvent
- Recorded DTMF event published by a participant.
- LiveKitLocalParticipant
- Local participant interface for publishing tracks, data, DTMF, and RPCs.
- LiveKitParticipant
- Represents a participant connected to a LiveKit room.
- LiveKitRoomClient
- Abstract client representing a LiveKit room and its server-side SIP/Room APIs.
- LiveKitRunner
-
Bridges a LiveKit WebRTC/SIP room to an ADK Runner via
runLive. - LiveKitTextStreamWriter
-
Writer handle for an open LiveKit text stream (e.g.
lk.transcription). - LiveKitToolset
- Toolset that dynamically exposes LiveKit call-control tools based on the active room state.
- LiveKitVideoFrame
- Video frame captured from a remote participant track.
- LocalFsspecFilesystem
-
Local disk FilesystemProtocol implementation for
file://URLs and plain filesystem paths. - MissingSentinel
- Sentinel class indicating that a CloudEvent binding or default was not set.
- ModelArmorClient
- Client interface for Google Cloud Model Armor sanitization operations.
- ModelArmorConfig
- Configuration for ModelArmorPlugin.
- ModelArmorPlugin
- Plugin that screens user prompts, model responses, and tool outputs via Google Cloud Model Armor.
- ModelArmorSanitizationResult
- Result returned by a Model Armor sanitization call.
- ModelArmorSdpDeidentifyResult
- Result returned by a single SDP (Sensitive Data Protection) filter check.
- MongoDbClient
- Injectable client interface for MongoDB document and aggregation operations.
- MongoDbMemoryService
- A MongoDB-backed memory service supporting keyword, vector, and auto-embedding retrieval.
- MongoDbSearchTool
- Tool that executes vector search, hybrid search, full-text search, find, or aggregation queries against a MongoDB database.
- MongoDbSessionClient
- Client interface used by MongoDbSessionService.
- MongoDbSessionCollection
- Collection interface used by MongoDbSessionService.
- MongoDbSessionDatabase
- Database interface used by MongoDbSessionService.
- MongoDbSessionService
- Session storage service backed by MongoDB collections.
- MongoDbToolset
-
MongoDB toolset providing
mongodb_vector_searchandmongodb_hybrid_searchtools. - MongoDbToolSettings
- Settings for MongoDB search tools.
- MongoDbUpdateResult
- Result returned by MongoDbSessionCollection.updateOne.
- OciConfig
-
Parsed OCI CLI configuration profile (
~/.oci/config). - OciGenAiClient
- Abstract client for OCI Generative AI inference APIs.
- OCIGenAILlm
- Oracle Cloud Infrastructure (OCI) Generative AI model adapter.
- OciRequestSigner
-
Signs OCI REST requests using OCI HTTP Request Signatures (
rsa-sha256). - OmitSentinel
- Sentinel class indicating that an optional CloudEvent attribute should be omitted.
- OpenAiChatCompletionsClient
- Client interface for OpenAI Chat Completions requests.
- OpenAIDecisionsClassifier
-
Classifier backed by OpenAI's
/v1/decisionsendpoint (gpt-6-luna). - OpenAIDecisionsClient
-
HTTP transport interface for sending
/decisionsrequests. - OpenAIGenerateContentConfig
- Generation configuration with OpenAI-specific reasoning effort controls.
- OpenAILlm
- Integration with OpenAI Chat Completions models.
- OpenAiResponsesClient
- Client interface for the OpenAI Responses API.
- OpenAIResponsesLlm
- ADK model implementation backed by the OpenAI Responses API.
- OpenAiResponsesStreamAccumulator
- Accumulates OpenAI Responses API streaming events into incremental and final LlmResponses.
- OpenSandboxClient
- Client interface for communicating with an OpenSandbox instance.
- OpenSandboxEnvironment
- Execution environment backed by an OpenSandbox container instance.
- ParameterManagerClient
- Client for retrieving parameter payloads from Google Cloud Parameter Manager.
- PropertyClassification
- Result of address normalization and property classification.
- QueryConfig
- Configuration for querying an Agent Engine.
- RedisSessionService
- Connects to Redis and executes session operations over RESP2.
- RedisSessionServiceConfig
- Configuration options for RedisSessionService.
- RedisStoreClient
- Injectable client interface for Redis key-value and transaction operations.
- RegisteredMcpServer
- Registered MCP server connection details.
- RespRedisStoreClient
- Redis-backed session service for ADK.
- S3BackendAdapter
-
Reads and writes object metadata on Amazon S3 (
s3fs). - S3FsspecFilesystem
-
Pure Dart REST FilesystemProtocol implementation for Amazon S3 (
s3:///s3a://) with native AWS Signature Version 4 (SigV4) signing. - SandboxClient
-
Client for communicating with a Vertex AI Agent Engine browser sandbox via
Chrome DevTools Protocol (CDP) over the
ExecuteSandboxEnvironmentendpoint. - SandboxManager
- Manages the lifecycle of Vertex AI Agent Engine sandboxes, templates, and parent engines for computer-use and container workloads.
- SecretManagerClient
- Client for retrieving secrets from Google Cloud Secret Manager.
- SessionConfig
- Configuration for creating or referencing a remote session.
- ShellBackedAgentEngineSandboxClient
- Command-based AgentEngineEnvironmentClient that delegates file I/O over shell commands when direct file APIs are unavailable.
- SimpleTeamsAgentApplication
- In-memory TeamsAgentApplication implementation for local servers and tests.
- SimpleTeamsTurnContext
- Default in-memory TeamsTurnContext implementation.
- SlackApiClient
- Minimal Slack API surface needed by SlackRunner.
- SlackAppAdapter
- Minimal Slack app surface needed by SlackRunner.
- SlackRunner
- Runner that bridges Slack events into an ADK Runner.
- SlackSocketModeHandler
- Socket mode handler abstraction used by SlackRunner.start.
- StreetViewResult
- Result of a Street View outdoor baseline query.
- TeamsActivity
- Minimal representation of an incoming or outgoing Microsoft Teams activity.
- TeamsAgentApplication
-
Minimal contract for a Microsoft Agents SDK
AgentApplication. - TeamsHttpApp
- HTTP application wrapper created by TeamsRunner.createApp.
- TeamsRunner
- Connects an ADK Runner to a Microsoft Teams TeamsAgentApplication.
- TeamsTurnContext
- Turn context passed to TeamsActivityHandler callbacks.
- TranscriptSegment
-
Manages a streaming LiveKit transcription segment (
lk.transcription). - TypesafeClassifier
- Classifier backed by TypeSafe's Jev decision models.
- TypesafeHttpResponse
- HTTP response returned by a TypesafeHttpTransport.
- VmaasVertexAiControlClient
- Interface for Vertex AI Agent Engine control-plane operations used by SandboxManager.
Enums
- AddressType
- Classification of the physical real-estate property.
- AgentIdentityResponseState
- State of an Agent Identity credential retrieval request.
- AgentRegistryProtocolType
- Supported Agent Registry protocol types.
- FirestoreFilterOperator
- Filter operators supported by FirestoreFieldFilter.
- GCSCapabilities
- Capabilities indicating what type of operations are allowed for GCS tools.
- GroundingStatus
- Outcome of a single grounding check.
- LiveKitParticipantKind
- Kinds of participants in a LiveKit room.
- ManagedAuthSchemeType
- Externally managed authentication scheme types.
- ModelArmorFilterMatchState
- Filter match state reported by Model Armor sanitization APIs.
- ModelArmorInvocationResult
- Invocation execution state reported by Model Armor sanitization APIs.
- MongoDbSearchMode
- Supported search modes for MongoDbSearchTool.
- WriteMode
- Write-permission mode for BigQuery mutating operations.
Constants
- addressValidationUrl → const String
- Google Address Validation API v1 endpoint.
- agentEngineSandboxWorkspace → const String
- Default workspace directory inside Agent Engine sandboxes.
- agentStateAttribute → const String
- Participant attribute key used by LiveKit clients to display agent state.
-
availableBigQuerySkills
→ const List<
String> - Names of bundled BigQuery skills available via getBigQuerySkill.
-
bigqueryDefaultScope
→ const List<
String> - Default OAuth scopes required for BigQuery operations.
- bigQuerySessionInfoKey → const String
- State key used to persist BigQuery protected-session metadata (legacy).
- bigqueryTokenCacheKey → const String
- Token-cache key used by BigQuery credential refresh flows.
- bigQueryUserAgent → const String
- Default ADK user-agent string for BigQuery requests.
-
cdpModifierBitflags
→ const Map<
String, int> -
CDP modifier bitflags (
Alt=1,Ctrl=2,Meta=4,Shift=8). -
cdpSpecialKeys
→ const Map<
String, Map< String, Object> > - Chrome DevTools Protocol (CDP) special key definitions keyed by lowercase name.
- checkGroundingUserAgent → const String
- User-Agent / client label sent on CheckGrounding API requests.
- DATA_TOPIC → const String
- Python-style alias for dataTopic.
- dataplexUserAgent → const String
- Default ADK user-agent string for Dataplex catalog requests.
- dataTopic → const String
- LiveKit data packet and text stream topic for structured ADK parts.
- daytonaSandboxHome → const String
- Default home directory inside Daytona sandboxes.
- defaultE2BApiBaseUrl → const String
- Default E2B API base URL.
- defaultElevenLabsVoiceId → const String
- Default ElevenLabs voice ID ("George").
- defaultFirestoreAppStateCollection → const String
- Default app-scoped state collection name in Firestore.
- defaultFirestoreEventsCollection → const String
- Default events subcollection name in Firestore.
- defaultFirestoreMemoriesCollection → const String
- Default memories collection name in Firestore.
- defaultFirestoreRootCollection → const String
- Default root collection name for Firestore session storage.
- defaultFirestoreSessionsCollection → const String
- Default sessions subcollection name in Firestore.
- defaultFirestoreUserStateCollection → const String
- Default user-scoped state collection name in Firestore.
- defaultGcsToolNamePrefix → const String
- Default tool name prefix applied by GCSToolset and GCSAdminToolset.
- defaultIamConnectorsEndpoint → const String
- Default endpoint for the Google Cloud IAM Connector Credentials API.
- defaultLiveKitChannels → const int
- Default output audio channel count (mono).
- defaultLiveKitSampleRate → const int
- Default output audio sample rate (Hz) for Gemini Live models.
- defaultLiveKitVideoFps → const double
- Default video frame sampling rate (frames per second).
- defaultMemoriesCollection → const String
- Default MongoDB collection name used by MongoDbMemoryService.
- defaultMongoDbAutoEmbeddingModel → const String
-
Default Voyage AI model name used by MongoDbMemoryService in
'auto'mode. - defaultMongoDbEmbeddingDimensions → const int
- Default embedding vector dimensions for defaultMongoDbEmbeddingModelName.
- defaultMongoDbEmbeddingModelName → const String
-
Default Google embedding model name used by MongoDbMemoryService in
'vector'mode. - defaultMongoDbMemoryVectorIndexName → const String
- Default Atlas Vector Search index name used by MongoDbMemoryService.
- defaultMongoDbToolNamePrefix → const String
- Default tool name prefix applied by MongoDbToolset.
- defaultNonInteractivePollInterval → const Duration
- Default interval between non-interactive token polling attempts.
- defaultNonInteractivePollTimeout → const Duration
- Default timeout for non-interactive token polling.
- defaultOciServiceEndpoint → const String
- Default service endpoint for OCI Generative AI inference.
- defaultOciSystemPrompt → const String
- Default system prompt injected when none is provided on LlmRequest.
- defaultRedisKeyPrefix → const String
- Default key prefix used for Redis session storage.
- defaultRedisTtlSeconds → const int
- Default TTL in seconds for Redis session keys (7 days).
-
defaultStopWords
→ const Set<
String> - Default English stop words filtered out during keyword extraction.
-
dtmfCodes
→ const Map<
String, int> - DTMF code-to-digit mapping per RFC 4733.
- e2bSandboxHome → const String
- Default home directory inside E2B sandboxes.
- elevenLabsApiKeyEnv → const String
- Environment variable read when no explicit API key is passed.
-
englishStopWords
→ const Set<
String> - Standard English stop words excluded during Firestore memory keyword extraction.
- finishReasonToolCalls → const String
- Finish reason returned by OCI when the model invokes tools.
-
gcsDefaultScope
→ const List<
String> - Default OAuth scopes required by GCS tools.
- gcsTokenCacheKey → const String
- Token cache key used for GCS credential refresh flow.
- gcsToolUserAgent → const String
- Default User-Agent header value sent by GCS tools.
- gdaClientId → const String
- API client identifier sent to the Gemini Data Analytics endpoint.
- geocodeUrl → const String
- Google Geocoding API endpoint.
- googleMapsSecretManagerRequiredMessage → const String
- Error message raised when Secret Manager support is explicitly disabled or unavailable.
- LK_CHAT_TOPIC → const String
- Python-style alias for lkChatTopic.
- LK_TRANSCRIPTION_TOPIC → const String
- Python-style alias for lkTranscriptionTopic.
- lkChatTopic → const String
- LiveKit text stream topic for chat messages.
- lkTranscriptionTopic → const String
- LiveKit text stream topic for live speech transcriptions.
- maxElevenLabsSentenceChars → const int
- Maximum characters buffered before forcing a sentence split in ElevenLabsTTS.
- maxToolOutputChunkChars → const int
- Maximum characters per Model Armor API call for tool output chunking.
- MISSING → const MissingSentinel
- Sentinel constant indicating that a CloudEvent binding or default was not set.
-
mongoDbMemoryRetrievalModes
→ const Set<
String> - Supported retrieval modes for MongoDbMemoryService.
- OMIT → const OmitSentinel
- Sentinel constant indicating that an optional CloudEvent attribute should be omitted.
-
openAiReasoningEfforts
→ const Set<
String> - Supported OpenAI reasoning effort tiers ordered from least to most effort.
- openSandboxHome → const String
- Default working directory inside OpenSandbox containers.
- publishMessage → const Function
- Alias for publishEventarcMessage.
- sipCallIdAttribute → const String
- SIP participant attribute key for the SIP call identifier.
- sipCallStatusAttribute → const String
- SIP participant attribute key for the SIP call status.
- sipPhoneNumberAttribute → const String
- SIP participant attribute key for the caller's phone number.
- sipTrunkPhoneNumberAttribute → const String
- SIP participant attribute key for the trunk/called phone number.
- streetViewArtifactFilename → const String
- Default session artifact filename used when persisting Street View imagery.
- streetViewImageUrl → const String
- Google Street View Static API imagery endpoint.
- streetViewMetadataUrl → const String
- Google Street View Static API metadata endpoint.
-
supportedElevenLabsSttSampleRates
→ const Set<
int> - Supported PCM sample rates (in Hz) for ElevenLabsSTT.
-
supportedElevenLabsTtsSampleRates
→ const Set<
int> - Supported PCM sample rates (in Hz) for ElevenLabsTTS.
- toolOutputChunkOverlap → const int
- Overlap between consecutive tool output chunks so split payloads are still caught.
- vmaasSandboxStateKey → const String
- Session state key used by AgentEngineSandboxComputer to persist the sandbox resource name.
Properties
-
activeCalls
→ Map<
(String, String), LiveKitCall> -
Read-only view of currently registered LiveKitCalls keyed by
(userId, sessionId).no setter - defaultGoogleMapsConfig → GoogleMapsConfig
-
Default shared GoogleMapsConfig instance.
final
- eventarcCachedLoopCount → int
-
Returns the number of active loop-scoped caches (for testing).
no setter
- hangUpTool → FunctionTool
-
Pre-configured FunctionTool wrapping endCall (
end_call).final - sendDtmfTool → FunctionTool
-
Pre-configured FunctionTool wrapping sendDtmf (
send_dtmf).final - transferCallTool → FunctionTool
-
Pre-configured FunctionTool wrapping transferCall (
transfer_call).final
Functions
-
analyzeContribution(
{required String projectId, required String inputData, required String contributionMetric, required List< Object?> dimensionIdCols, required String isTestCol, required Object credentials, required Object settings, required ToolContext toolContext, int topKInsights = 30, String pruningMethod = 'PRUNE_REDUNDANT_INSIGHTS'}) → Future<Map< String, Object?> > - Builds a temporary contribution-analysis model and returns insights.
-
askDataInsights(
{required String projectId, required String userQueryWithContext, List< Map< ? tableReferences, Object? credentials, Object? settings, Object? searchScope}) → Future<String, String> >Map< String, Object?> > -
Executes a BigQuery Data Insights request for
userQueryWithContext. -
buildDomainSpecificTool(
{Object? toolset, required String name, required String description, required Object? bus, required CloudEventAttributesBinding ceAttributesBinding, Object? payloadSchema, EventarcPublishInvoker? publishInvoker}) → DomainSpecificPublishTool -
Dynamically builds a DomainSpecificPublishTool (GoogleTool) wrapping Eventarc
publish_messagewith static, dynamic callback, or AgentProvided bindings. -
buildHttpAuthCredential(
{required String header, required String token, String? apiKey}) → AuthCredential -
Builds an AuthCredential from an authorization
header,token, and optionalapiKey. -
buildOciResponseFormat(
GenerateContentConfig config) → Map< String, Object?> ? -
Builds an OCI
ResponseFormatmap fromconfig, ornullfor plain text. -
buildReasoningEffort(
GenerateContentConfig? config, String? model, String api, {bool validate = true}) → String? -
Resolves the reasoning effort tier to send for
modelonapi('chat'or'responses'). -
calculateCompassBearing(
double startLat, double startLng, double endLat, double endLng) → double? -
Calculates forward compass bearing (
0–360degrees) from start to end GPS. -
checkMongoDbFilter(
Object? filter) → void -
Validates that
filteronly uses operators in the$vectorSearchallowlist. -
classifyPropertyAddressAsync(
String rawAddress, {GoogleMapsConfig? config}) → Future< PropertyClassification> -
Standardizes
rawAddressand classifies the physical property type. -
cleanGoogleMapsEnv(
String? value) → String? -
Returns
nullifvalueis unset, blank, or still holds a template token. -
cleanupClients(
) → Future< void> - Cleans up and closes all cached publisher clients for the current event loop.
-
clearGoogleMapsCaches(
) → void - Clears internal address validation and reverse geocoding caches.
-
connectionStringFromEnv(
String envVar, {Map< String, String> ? environment}) → String -
Reads a MongoDB connection string from the environment variable
envVar. -
contentToOciMessages(
Content content) → List< Map< String, Object?> > - Converts an ADK Content object into one or more OCI message maps.
-
createBucket(
{required String projectId, required String bucketName, Object? credentials, String? location}) → Future< Map< String, Object?> > -
Creates a new GCS bucket in
projectId. -
createMongoDbClientFromUrl(
String dbUrl, {Map< String, Object?> ? mongoClientKwargs}) → MongoDbSessionClient -
Creates a MongoDbSessionClient from
dbUrlusing the active factory. -
createObject(
{required String bucketName, required String objectName, Object? credentials, String? data, String? sourceFilePath, GCSToolSettings? settings}) → Future< Map< String, Object?> > -
Creates a new object (blob) in a GCS bucket from provided
dataorsourceFilePath. -
currentCall(
ToolContext toolContext) → LiveKitCall -
Resolves the active LiveKitCall for
toolContext. -
deleteBucket(
{required String bucketName, Object? credentials}) → Future< Map< String, Object?> > - Deletes a GCS bucket.
-
deleteObjects(
{required String bucketName, required List< String> objectNames, Object? credentials}) → Future<Map< String, Object?> > - Deletes multiple objects (blobs) from a GCS bucket.
-
deserializeLiveKitPart(
List< int> bytes) → Part? -
Deserializes UTF-8 JSON
bytesfrom the LiveKitadkdata topic into a Part. -
detectAnomalies(
{required String projectId, required String historyData, required String timesSeriesTimestampCol, required String timesSeriesDataCol, int horizon = 1000, String? targetData, List< Object?> ? timesSeriesIdCols, double anomalyProbThreshold = 0.95, required Object credentials, required Object settings, required ToolContext toolContext}) → Future<Map< String, Object?> > - Builds a temporary ARIMA model and returns anomaly detection results.
-
endCall(
{required ToolContext toolContext}) → Future< String> - Ends the phone or WebRTC call and disconnects all participants.
-
enforceStrictOpenAiSchema(
Map< String, dynamic> schema) → void -
Recursively transforms a JSON
schemain place for OpenAI strict structured outputs. -
ensureHttpsMapsUrl(
String url) → Uri -
Validates that
urluses HTTPS and has a non-empty host. -
escapeRedisGlob(
String value) → String -
Escapes Redis glob metacharacters in
valueso that it matches only itself. -
executeSql(
{required String projectId, required String query, required Object credentials, required Object settings, required ToolContext toolContext, bool dryRun = false}) → Future< Map< String, Object?> > -
Executes
queryagainst BigQuery using normalizedsettings. -
extractKeywords(
String text, {Set< String> ? stopWords}) → Set<String> -
Extracts lowercase alphabetic keywords from
text, filtering outstopWords. -
extractOciUsageMetadata(
Map< String, Object?> ? usage) → Map<String, Object?> ? -
Extracts ADK usage metadata from an OCI
Usagemap. -
fetchStreetViewBaseline(
double latitude, double longitude, {GoogleMapsConfig? config, double? timeout, int? pitch, int? fov, String? size, double? heading}) → Future< StreetViewResult> - Fetches outdoor Street View imagery using the 2-step Metadata pattern.
-
forecast(
{required String projectId, required String historyData, required String timestampCol, required String dataCol, int horizon = 10, List< Object?> ? idCols, required Object credentials, required Object settings, required ToolContext toolContext}) → Future<Map< String, Object?> > -
Runs
AI.FORECASToverhistoryDataand returns forecast rows. -
functionDeclarationToOciTool(
FunctionDeclaration decl) → Map< String, Object?> -
Converts an ADK FunctionDeclaration into an OCI
FunctionDefinitionmap. -
getBigQueryClient(
{required String? project, required Object credentials, String? location, Object? userAgent}) → BigQueryClient - Returns a configured BigQuery client.
-
getBigQuerySkill(
[String skillName = 'bigquery-ai-ml']) → Skill -
Loads a bundled BigQuery Skill by
skillName. -
getBucket(
{required String bucketName, Object? credentials}) → Future< Map< String, Object?> > - Gets metadata information about a GCS bucket.
-
getDataplexCatalogClient(
{required Object credentials, Object? userAgent}) → DataplexCatalogClient - Returns a configured Dataplex catalog client.
-
getDatasetInfo(
{required String projectId, required String datasetId, required Object credentials, required Object settings}) → Future< Map< String, Object?> > -
Returns dataset metadata for
datasetId. -
getElevenLabsClient(
{String? apiKey, String? baseUrl, double? timeout, Map< String, String> ? environment}) → DefaultElevenLabsSpeechClient - Builds a configured DefaultElevenLabsSpeechClient.
-
getExecuteSql(
BigQueryToolConfig settings) → ExecuteSqlTool -
Returns an ExecuteSqlTool adapter bound to
settings. -
getGcsClient(
{Object? credentials, String? project}) → GcsClient -
Returns a GcsClient for
credentialsand optionalproject. -
getInMemoryMongoDbIndexOptions(
MongoDbSessionCollection collection) → Map< String, Map< String, Object?> > -
Returns index options (such as
expireAfterSeconds) recorded oncollectionin memory. -
getInMemoryMongoDbSearchIndexes(
MongoDbSessionCollection collection) → List< Map< String, Object?> > -
Returns the search indexes registered on
collectionin memory. -
getJobInfo(
{required String projectId, required String jobId, required Object credentials, required Object settings}) → Future< Map< String, Object?> > -
Returns job metadata for
jobId. -
getMongoClient(
String connectionString, {int? timeoutMs}) → MongoDbClient -
Creates a MongoDbClient for
connectionString. -
getObjectData(
{required String bucketName, required String objectName, Object? credentials, int? generation, String? destinationFilePath, GCSToolSettings? settings}) → Future< Map< String, Object?> > - Gets the content/data of a GCS object (blob).
-
getObjectMetadata(
{required String bucketName, required String objectName, Object? credentials, int? generation}) → Future< Map< String, Object?> > - Gets metadata information about a GCS object (blob).
-
getPublisherClient(
{Object? credentials, String? userAgent, String? projectId}) → Future< EventarcPublisherClient> - Gets or creates the current event loop's EventarcPublisherClient.
-
getStreetViewImage(
double latitude, double longitude, ToolContext? toolContext, {GoogleMapsConfig? config}) → Future< String> - Fetches an outdoor Street View image and saves it to the ADK session.
-
getTableInfo(
{required String projectId, required String datasetId, required String tableId, required Object credentials, required Object settings}) → Future< Map< String, Object?> > -
Returns table metadata for
tableId. -
hybridSearch(
{required String collectionName, required String query, required String textSearchField, required MongoDbClient client, required String databaseName, required MongoDbToolSettings settings, Object? genaiClient, Map< String, Object?> ? filter, int? limit, int? numCandidates, String? vectorIndexName, String? searchIndexName, String? embeddingField, double? vectorWeight, double? textWeight, List<String> ? outputFields}) → Future<Map< String, Object?> > - Runs a hybrid (full-text + vector) search against a MongoDB collection.
-
isConsentCompleted(
Context context) → bool -
Returns
trueif the user consent flow is completed for the current function call by matchingfunctionCallIdacrosssession.events. -
isReasoningModel(
String? model) → bool -
Returns
truewhenmodelis an OpenAI reasoning model (o*,gpt-5*,gpt-6*excluding-chat). -
listBuckets(
{required String projectId, Object? credentials, int? pageSize, String? pageToken}) → Future< Map< String, Object?> > - Lists GCS bucket names in a Google Cloud project.
-
listDatasetIds(
{required String projectId, required Object credentials, required Object settings}) → Future< Object> -
Lists dataset ids available in
projectId. -
listObjects(
{required String bucketName, Object? credentials, String? prefix, int? pageSize, String? pageToken}) → Future< Map< String, Object?> > - Lists object names in a GCS bucket.
-
listTableIds(
{required String projectId, required String datasetId, required Object credentials, required Object settings}) → Future< Object> -
Lists table ids in
datasetId. -
lookupCall(
ReadonlyContext? context) → LiveKitCall? -
Looks up the active LiveKitCall for
context, or returnsnull. -
mapFinishReason(
String? finishReason) → String? -
Maps an OpenAI chat-completion
finishReasonstring to an ADK finish reason string. -
mapOciFinishReason(
String? reason) → String - Maps an OCI finish reason string to an ADK finish reason string.
-
newRewindTombstone(
) → Part - Returns the marker Part saved during a session rewind to mark an artifact as absent.
-
ociResponseToLlmResponse(
Map< String, Object?> response) → LlmResponse - Converts a non-streaming OCI chat response payload into an LlmResponse.
-
parseElevenLabsSttAudioMime(
String mime) → int -
Parses a
rate=...parameter from anaudio/pcmoraudio/l16mimetype. -
partToOciContent(
Part part) → Map< String, Object?> ? - Converts a single ADK Part into an OCI content block map.
-
publishEventarcMessage(
{required String bus, required String type, required String source, EventarcToolConfig? settings, EventarcCredentialsConfig? credentials, Object? data, bool isBase64Encoded = false, bool includeTracingExtension = false, String? datacontenttype, String specversion = '1.0', String? subject, String? id, String? time, Map< String, String> ? customAttributes, Map<String, Object?> ? protoMessage, Client? httpClient}) → Future<Map< String, dynamic> > - Publishes a structured CloudEvent to Google Cloud Eventarc Advanced.
-
redactMapsSecret(
String text, [String? apiKey]) → String -
Redacts
key=query values and explicitapiKeyoccurrences fromtext. -
registerCall(
LiveKitCall call) → void -
Registers
callin the active call registry. -
removePublisherClient(
{Object? credentials, String? userAgent, String? projectId}) → Future< void> - Removes a publisher client from the current event loop's cache and closes it.
-
resetBigQueryClientFactory(
) → void - Restores the default BigQuery client factory.
-
resetBigQueryInsightsStreamProvider(
) → void - Restores the default BigQuery insights streaming provider.
-
resetDataplexCatalogClientFactory(
) → void - Restores the default Dataplex catalog client factory.
-
resetEventarcPublisherClientFactory(
) → void - Restores the default EventarcPublisherClient factory.
-
resetEventarcPublishInvoker(
) → void - Restores the default publish invoker used by domain-specific Eventarc tools.
-
resetGcsClientFactory(
) → void - Restores the default GcsClient factory.
-
resetGoogleMapsHttpTransport(
) → void - Restores default outbound HTTP transport callbacks for Google Maps services.
-
resetGoogleMapsSecretFetcher(
) → void - Restores the default Secret Manager fetcher used by GoogleMapsConfig.
-
resetMongoDbClientFactory(
) → void - Restores the default MongoDbClient factory.
-
resetMongoDbQueryEmbedder(
) → void - Restores the default query embedder used by MongoDB search tools.
-
resetMongoDbSessionClientFactory(
) → void - Restores the default MongoDbSessionClient factory.
-
resetParameterManagerFetcher(
) → void - Resets the custom parameter fetcher to the default Cloud Parameter Manager HTTP implementation.
-
resetSecretManagerSecretFetcher(
) → void - Restores the default Secret Manager fetcher implementation.
-
resolveElevenLabsApiKey(
String? apiKey, {Map< String, String> ? environment}) → String -
Resolves an ElevenLabs API key from
apiKeyor elevenLabsApiKeyEnv. -
resolveGcsLocalPath(
String path, GCSToolSettings? settings) → String -
Resolves a model-supplied local file
pathundersettings.localFileRoot. -
reverseGeocode(
double latitude, double longitude, ToolContext? toolContext, {GoogleMapsConfig? config}) → Future< String> - Resolves coordinates into a street address and saves it to the ADK session.
-
reverseGeocodeCoordinatesAsync(
double latitude, double longitude, {GoogleMapsConfig? config}) → Future< String?> - Resolves WGS84 coordinates into a formatted street address.
-
runWithEventarcLoopScope<
T> (EventarcLoopScope scope, T action()) → T -
Runs
actioninside an isolated EventarcLoopScope. -
schemaToJsonSchema(
Object? schema) → Map< String, Object?> - Converts a Gemini/OpenAPI schema value into a JSON Schema map for OCI.
-
schemeFromBinding(
Map< String, Object?> ? authProviderBinding, {String? continueUri}) → GcpAuthProviderScheme? -
Builds a GcpAuthProviderScheme from an
authProviderBindingpayload. -
searchCatalog(
{required String prompt, required String projectId, required Object credentials, required Object settings, String? location, int pageSize = 10, List< String> ? projectIdsFilter, List<String> ? datasetIdsFilter, List<String> ? typesFilter}) → Future<Map< String, Object?> > - Searches Dataplex catalog entries scoped to BigQuery assets.
-
selectAuthProviderBinding(
List< Map< bindings, [String resourceName = '']) → Map<String, Object?> >String, Object?> ? -
Selects the
authProviderBindingfrom the most recently updated binding. -
sendDtmf(
{required String digits, required ToolContext toolContext}) → Future< String> -
Sends DTMF touch-tone digits (
0-9,*,#,A-D) into the call. -
serializeLiveKitPart(
Part part) → Uint8List -
Serializes an ADK Part to UTF-8 JSON bytes for the LiveKit
adkdata topic. -
serializeSystemInstruction(
Object? systemInstruction) → String? -
Serializes an ADK
systemInstructioninto plain text for OpenAI requests. -
sessionIdForConversation(
String conversationId) → String -
Derives a deterministic, URL/path-safe ADK session ID from a Teams
conversationId. -
setBigQueryClientFactory(
BigQueryClientFactory factory) → void - Overrides the BigQuery client factory.
-
setBigQueryInsightsStreamProvider(
BigQueryInsightsStreamProvider provider) → void - Replaces the streaming provider used by askDataInsights.
-
setDataplexCatalogClientFactory(
DataplexCatalogClientFactory factory) → void - Overrides the Dataplex catalog client factory.
-
setEventarcPublisherClientFactory(
EventarcPublisherClientFactory factory) → void - Overrides the factory used by getPublisherClient.
-
setEventarcPublishInvoker(
EventarcPublishInvoker invoker) → void - Overrides the default publish invoker used by domain-specific Eventarc tools.
-
setGcsClientFactory(
GcsClientFactory factory) → void - Overrides the GcsClient factory used by GCS tools.
-
setGoogleMapsHttpTransport(
{GoogleMapsHttpGet? httpGet, GoogleMapsHttpPostJson? httpPostJson}) → void - Overrides outbound HTTP transport callbacks for Google Maps services in tests.
-
setGoogleMapsSecretFetcher(
GoogleMapsSecretFetcher? fetcher) → void - Overrides the Secret Manager fetcher used by GoogleMapsConfig in tests.
-
setInMemoryMongoDbSearchIndexes(
MongoDbSessionCollection collection, List< Map< indexes) → voidString, Object?> > -
Seeds the search indexes registered on
collectionin memory. -
setMongoDbClientFactory(
MongoDbClientFactory factory) → void - Overrides the factory used by getMongoClient.
-
setMongoDbQueryEmbedder(
MongoDbQueryEmbedder embedder) → void - Overrides the query embedder used by MongoDB search tools.
-
setMongoDbSessionClientFactory(
MongoDbSessionClientFactory factory) → void -
Overrides the factory used when MongoDbSessionService is created from
dbUrl. -
setParameterManagerFetcher(
ParameterManagerFetcher? fetcher) → void - Overrides the HTTP parameter fetcher used by ParameterManagerClient in tests.
-
setSecretManagerSecretFetcher(
SecretManagerSecretFetcher fetcher) → void - Overrides the secret fetcher used by SecretManagerClient.
-
splitElevenLabsTtsSentences(
Stream< String> text, {int maxChars = maxElevenLabsSentenceChars}) → Stream<String> -
Splits a stream of
textdeltas into sentence-sized pieces suitable for low-latency text-to-speech synthesis. -
stripUnsupportedSamplingParams(
Map< String, Object?> kwargs, String? model) → void -
Strips non-default
temperatureandtop_pparameters fromkwargswhenmodelis a reasoning model. -
supportedEfforts(
String? model, String api) → Set< String> -
Returns the set of reasoning effort tiers that
modelaccepts onapi('chat'or'responses'). -
targetsDefaultOpenAiHost(
{Object? client, String? baseUrl, String? azureEndpoint, Map< String, String> ? environment}) → bool -
Returns
truewhen the request targets the defaultapi.openai.comhost rather than a compatible backend. -
toolChoice(
GenerateContentConfig? config) → String? -
Maps an ADK GenerateContentConfig function-calling mode to an OpenAI
tool_choicevalue. -
toOpenAiChatTools(
List< ToolDeclaration> ? tools) → List<Map< String, Object?> > - Converts ADK ToolDeclaration items into OpenAI Chat Completions tool definitions.
-
toOpenAiResponsesTools(
List< ToolDeclaration> ? tools) → List<Map< String, Object?> > - Converts ADK ToolDeclaration items into OpenAI Responses API tool definitions.
-
toOpenAiSchema(
Map< String, dynamic> schema, {bool strict = false}) → Map<String, dynamic> -
Converts a schema map into a normalized OpenAI JSON schema, optionally enforcing
strictmode. -
transferCall(
{String? transferTo, String? transfer_to, required ToolContext toolContext}) → Future< String> - Transfers the caller to another phone number or SIP URI.
-
unregisterCall(
LiveKitCall call) → void -
Removes
callfrom the active call registry. -
updateBucket(
{required String bucketName, Object? credentials, bool? versioningEnabled, bool? uniformBucketLevelAccessEnabled}) → Future< Map< String, Object?> > - Updates properties of a GCS bucket.
-
urlToFs(
String url, [Map< String, Object?> ? storageOptions]) → (FilesystemProtocol, String) -
Resolves
urlinto a(FilesystemProtocol, String rootPath)pair. -
validateAddress(
String rawAddress, ToolContext? toolContext, {GoogleMapsConfig? config}) → Future< String> - Validates an address and saves the classification to the ADK session.
-
validateCoordinates(
double latitude, double longitude) → bool -
Returns
trueiflatitudeandlongitudeare finite and within WGS84 bounds. -
vectorSearch(
{required String collectionName, required String query, required MongoDbClient client, required String databaseName, required MongoDbToolSettings settings, Object? genaiClient, Map< String, Object?> ? filter, int? limit, int? numCandidates, String? indexName, String? embeddingField, List<String> ? outputFields}) → Future<Map< String, Object?> > - Runs an Atlas Vector Search query against a MongoDB collection.
Typedefs
-
AgentRegistryAuthHeadersProvider
= Future<
Map< Function()String, String> > - Function that resolves auth headers for Agent Registry and downstream calls.
-
AgentRegistryHttpGetProvider
= Future<
AgentRegistryHttpResponse> Function(Uri uri, {required Map<String, String> headers}) - Function that executes one Agent Registry GET request.
-
AgentRegistryHttpPostProvider
= Future<
AgentRegistryHttpResponse> Function(Uri uri, {Object? body, required Map<String, String> headers}) - Function that executes one Agent Registry POST request with a JSON body.
-
AgentRegistryMcpHeaderProvider
= FutureOr<
Map< Function(ReadonlyContext readonlyContext)String, String> > - Synchronous or asynchronous header provider for Agent Registry MCP toolsets.
-
ApiRegistryAuthHeadersProvider
= Future<
Map< Function()String, String> > - Function that resolves auth headers for API Registry and MCP calls.
-
ApiRegistryHttpGetProvider
= Future<
ApiRegistryHttpResponse> Function(Uri uri, {required Map<String, String> headers}) - Function that executes one API Registry list request.
- AzureOpenAiResponsesLlm = AzureOpenAIResponsesLlm
- Alias for AzureOpenAIResponsesLlm matching Dart naming conventions.
-
BigQueryClientFactory
= BigQueryClient Function({required Object credentials, String? location, required String? project, required List<
String> userAgent}) - Factory for creating BigQueryClient instances.
-
BigQueryInsightsStreamProvider
= Future<
Stream< Function({required Map<String> >String, String> headers, required Map<String, Object?> payload, required Uri url}) - Signature for stream providers used by BigQuery insights tools.
-
CheckGroundingAuthHeadersProvider
= Future<
Map< Function()String, String> > - Provider for auth headers used by CheckGroundingClient.
-
CheckGroundingTransport
= Future<
Map< Function({required Uri endpoint, required Map<String, Object?> >String, String> headers, required Map<String, Object?> requestBody, required Duration timeout}) -
Transport function for executing one Discovery Engine
checkGroundingRPC. -
CrewaiMandatoryArgsResolver
= List<
String> Function(Function toolRunner) - Resolves mandatory argument names for a CrewAI tool runner.
-
CrewaiSchemaResolver
= Map<
String, dynamic> ? Function(Function toolRunner) - Resolves a JSON schema for a CrewAI tool runner.
- CrewaiToolResolver = Function Function(String toolPath)
- Resolves a CrewAI tool path to an executable function.
-
DataplexCatalogClientFactory
= DataplexCatalogClient Function({required Object credentials, required List<
String> userAgent}) - Factory for creating DataplexCatalogClient instances.
- E2bEnvironment = E2BEnvironment
- Idiomatic Dart alias for E2BEnvironment.
- E2bSandboxClient = E2BSandboxClient
- Idiomatic Dart alias for E2BSandboxClient.
- EventarcPublisherClientFactory = EventarcPublisherClient Function({Object? credentials, String? userAgent})
- Factory signature for creating EventarcPublisherClient instances.
-
EventarcPublishInvoker
= FutureOr<
Map< Function(Map<String, dynamic> >String, dynamic> kwargs) -
Invoker callback receiving resolved
publish_messagekeyword arguments. -
ExecuteSqlTool
= Future<
Map< Function({required Object credentials, bool dryRun, required String projectId, required String query, required Object settings, required ToolContext toolContext})String, Object?> > - Signature for SQL execution callbacks used by BigQuery query tools.
-
FsspecUrlToFsResolver
= (FilesystemProtocol, String) Function(String url, [Map<
String, Object?> ? storageOptions]) -
Resolver signature matching
fsspec.core.url_to_fs. -
GcpSkillRegistryAuthHeadersProvider
= Future<
Map< Function()String, String> > - Function that resolves auth headers for Skill Registry requests.
-
GcpSkillRegistryHttpGetProvider
= Future<
GcpSkillRegistryHttpResponse> Function(Uri uri, {required Map<String, String> headers}) - Function that executes one Skill Registry GET request.
-
GcpSkillRegistryHttpPostProvider
= Future<
GcpSkillRegistryHttpResponse> Function(Uri uri, {required Map<String, Object?> body, required Map<String, String> headers}) - Function that executes one Skill Registry POST request.
- GcsClientFactory = GcsClient Function({Object? credentials, String? project})
- Factory function signature for resolving a GcsClient.
-
GoogleMapsHttpGet
= Future<
(int, Uint8List)> Function(String url, {GoogleMapsConfig? config, Map<String, String> ? headers, required Map<String, Object?> params, required double timeout}) - HTTP GET transport callback signature for Google Maps requests.
-
GoogleMapsHttpPostJson
= Future<
(int, Uint8List)> Function(String url, {GoogleMapsConfig? config, Map<String, String> ? headers, required Map<String, Object?> params, required Map<String, Object?> payload, required double timeout}) - HTTP POST JSON transport callback signature for Google Maps requests.
-
GoogleMapsSecretFetcher
= FutureOr<
String?> Function({String? agentEngineId, required String resourceName, String? serviceAccountEmail}) - Callback signature for resolving a Google Maps API key from Secret Manager.
- HttpE2bSandboxClient = HttpE2BSandboxClient
- Idiomatic Dart alias for HttpE2BSandboxClient.
- LangchainMetadataResolver = String? Function(Function toolRunner)
- Resolves an optional metadata string (name or description) for a LangChain tool runner.
-
LangchainSchemaResolver
= Map<
String, dynamic> ? Function(Function toolRunner) - Resolves an optional JSON schema for a LangChain tool runner.
- LangchainToolResolver = Function Function(String toolPath)
- Resolves a LangChain tool path to an executable function.
-
ModelArmorAuthHeadersProvider
= Future<
Map< Function()String, String> > - Auth header provider used by GoogleCloudModelArmorClient.
-
ModelArmorHttpPost
= Future<
({String body, int statusCode})> Function(Uri uri, {required String body, required Map<String, String> headers}) - HTTP request function used by GoogleCloudModelArmorClient.
-
ModelArmorScreenHandler
= Future<
ModelArmorSanitizationResult> Function({required bool isModelResponse, required String templateName, required String text}) - Custom screening callback used by InMemoryModelArmorClient.
- MongoDbClientFactory = MongoDbClient Function(String connectionString, {int? timeoutMs})
- Factory function signature for building a MongoDbClient from a connection string.
-
MongoDbQueryEmbedder
= Future<
List< Function({Object? genaiClient, required String modelName, int? outputDimensionality, required String query})double> > - Function signature used to embed query text into a float vector.
-
MongoDbSessionClientFactory
= MongoDbSessionClient Function(String dbUrl, {Map<
String, Object?> ? mongoClientKwargs}) - Factory signature for constructing a MongoDbSessionClient from a MongoDB URI.
- OciGenAiLlm = OCIGenAILlm
- Idiomatic Dart alias for OCIGenAILlm.
-
OnResult
= FutureOr<
LlmResponse?> Function({required CallbackContext callbackContext, required GroundingResult groundingResult, required LlmResponse llmResponse}) - Hook called with the result of every grounding check.
-
OpenAiApiKeyProvider
= FutureOr<
String> Function() - Callback signature for supplying an OpenAI API key synchronously or asynchronously.
- OpenAiDecisionsClassifier = OpenAIDecisionsClassifier
- Idiomatic Dart alias for OpenAIDecisionsClassifier.
- OpenAiGenerateContentConfig = OpenAIGenerateContentConfig
- Alias for OpenAIGenerateContentConfig matching Dart naming conventions.
- OpenAiLlm = OpenAILlm
- Alias for OpenAILlm matching Dart naming conventions.
- OpenAiResponsesLlm = OpenAIResponsesLlm
- Alias for OpenAIResponsesLlm matching Dart naming conventions.
-
ParameterManagerFetcher
= Future<
String> Function({required String accessToken, String? location, required String resourceName}) - Custom parameter version fetcher callback used by ParameterManagerClient.
-
SecretManagerSecretFetcher
= Future<
String> Function({String? authToken, required String resourceName, String? serviceAccountJson}) - Fetches a secret payload from Secret Manager.
-
SlackEventHandler
= Future<
void> Function(Map<String, Object?> event, SlackSay say) - Handler invoked for one Slack event.
-
SlackSay
= Future<
Map< Function({required String text, String? threadTs})String, Object?> > - Callback used to respond into a Slack thread.
- SlackSocketModeHandlerFactory = SlackSocketModeHandler Function(SlackAppAdapter app, String appToken)
- Factory for creating socket mode handlers.
-
TeamsActivityHandler
= Future<
void> Function(TeamsTurnContext context, [Object? state]) - Handler invoked by a TeamsAgentApplication for an incoming Teams activity.
-
TypesafeHttpTransport
= Future<
TypesafeHttpResponse> Function({required Map<String, Object?> body, required Map<String, String> headers, required Duration timeout, required Uri url}) - Function signature for sending POST requests to the TypeSafe API.
- VmaasSandboxClient = SandboxClient
- Idiomatic alias for SandboxClient.
- VmaasSandboxComputer = AgentEngineSandboxComputer
- Idiomatic alias for AgentEngineSandboxComputer.
- VmaasSandboxManager = SandboxManager
- Idiomatic alias for SandboxManager.
Exceptions / Errors
- AgentEngineSandboxApiException
- Exception thrown when an Agent Engine sandbox API call fails.
- AgentExecutionError
- Error thrown when an Agent Engine execution fails.
- AzureRuntimeException
-
Exception wrapping an underlying Azure error (mirroring Python's
RuntimeError(...) from causeraised byadlfs). - AzureStorageException
-
Exception carrying an Azure Storage error code (for example
'BlobAlreadyExists'or'ConditionNotMet'). - CheckGroundingApiException
- Exception thrown by a CheckGroundingTransport when the API returns an error.
- DataplexCatalogApiException
- Exception thrown when a Dataplex Catalog API request fails.
- E2BCommandExitException
- Exception thrown by an E2B sandbox command when it exits with a non-zero status.
- E2BTimeoutException
- Exception thrown when an E2B sandbox command exceeds its execution timeout.
- FsspecFileExistsException
- Exception thrown when exclusive object creation fails because the target path already exists.
- FsspecFileNotFoundException
- Exception thrown when an fsspec backend cannot find the requested path.
- FsspecImportError
-
Exception thrown when an fsspec backend library version is too old or
missing required support (mirrors Python's
ImportError). - FsspecInputValidationError
- Input validation exception raised by FsspecArtifactService.
- FsspecPermissionException
- Exception thrown when an fsspec backend rejects an operation due to insufficient permissions.
- GcsPreconditionError
-
Stand-in for GCS generation-0 precondition failures (
FailedPrecondition/PreconditionFailed) on Rapid GCS buckets. - MapsApiError
- Exception thrown when a Google Maps Platform request fails or cannot be sent.
- MongoDbDuplicateKeyException
-
Exception thrown when inserting a document with a duplicate
_id. - MongoDbOperationFailure
- Exception representing a MongoDB server operation failure with an error code.
- S3ConditionalRequestConflictException
-
Exception representing an S3 HTTP 409
ConditionalRequestConflicterror.