MCPcopy Create free account

hub / github.com/google/adk-samples / functions

Functions4,953 in github.com/google/adk-samples

↓ 3 callersFunctionentry_to_dict
Manually converts a Dataplex Entry object to a dictionary that is compatible with the existing simulation logic.
python/agents/policy-as-code/policy_as_code_agent/utils/dataplex.py:43
↓ 3 callersFunctionevaluate_all_glasses
Evaluate all reference glasses against the generated VTO image. Uses the first glasses image as the primary reference. Returns: dict
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/glasses/glasses_eval.py:140
↓ 3 callersFunctionexecute_sub_agent
Runs a sub-agent by spinning up a temporary async loop in a SEPARATE THREAD. Args: agent (LlmAgent): The sub-agent to run. pr
python/agents/ai-security-agent/llm_red_team_agent/agent_utils.py:45
↓ 3 callersMethodexport
Export the spans to Google Cloud Logging and Cloud Trace. :param spans: A sequence of spans to export :return: The result of
python/agents/short-movie-agents/app/utils/tracing.py:67
↓ 3 callersMethodextract_guideline_from_doc
Extracts structured guideline data from a document using Gemini.
python/agents/brand-aligner/brand_aligner_agent/services.py:118
↓ 3 callersMethodextract_rule
Extract a specific rule (e.g., "4.1", "33.1", "12.1"). Handles formats: - #### [Rule 4.1: WAF Exceptions] - ###
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:698
↓ 3 callersFunctionfetch_anthropic_economic_index_data
Retrieves official historical data points from Anthropic's Economic Index Reports (from August 2025, November 2025, and February 2026).
python/agents/economic-research-agent/economic_research/tools/economic_index_skill.py:7
↓ 3 callersFunctionfetch_bls_series_data
Fetches live labor statistics from the BLS (Bureau of Labor Statistics) API v2.
python/agents/economic-research-agent/economic_research/tools/bls_api_skill.py:13
↓ 3 callersFunctionfetch_document_urls_async
Fetches list of URLs from the API.
python/agents/high-volume-document-analyzer/high_volume_document_analyzer/tools/process_toolset.py:182
↓ 3 callersFunctionfetch_state_electricity_rates
Fetches real-time average electricity prices per kWh from the EIA Open Data API. Crucial for calculating the operational ROI of data centers
python/agents/economic-research-agent/economic_research/tools/eia_skill.py:18
↓ 3 callersFunctionfilter_by_score_distribution
Filter a list of (mask, score) tuples, keeping only those in the top 30% of scores. Ensures a minimum number of masks are always returned, even i
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/r2v/shoes/split_multiple_shoes.py:192
↓ 3 callersFunctionfind_best_matches_with_ssim
Find the best matching frame for each reference using SSIM. Then pick 3 frames: best match, frame at -offset, and frame at +offset. Args:
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/r2v/shoes/product_consistency_validation.py:159
↓ 3 callersFunctiongenerate_and_save_outline
Consolidated tool that generates a presentation outline AND saves it to session state. Use this instead of calling outline_specialist and sav
python/agents/brand-aligned-presentations/presentation_agent/sub_agents/synthesizer/agent.py:60
↓ 3 callersFunctiongenerate_radar_chart
Generates a detailed radar chart for the asset evaluation.
python/agents/brand-aligner/brand_aligner_agent/utils.py:137
↓ 3 callersFunctiongenerate_video_segment
(index: int)
python/agents/genmedia-for-commerce/genmedia4commerce/mcp_server/spinning/interpolation/other/other_api.py:191
↓ 3 callersFunctiongenerate_vto
Generate a virtual try-on image using 2-step approach (always full body). Args: client: Gemini client instance scenario: Descript
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/clothes/vto_generation.py:189
↓ 3 callersFunctiongenerated_asset_path
Get the GCS blob path for a generated asset.
python/agents/genmedia-for-commerce/genmedia4commerce/agent_utils.py:55
↓ 3 callersFunctiongetAvailableCapabilities
(productType: Product)
python/agents/genmedia-for-commerce/frontend/src/config/featureConstraints.ts:213
↓ 3 callersFunctiongetBoxLabel
(boxType: string)
python/agents/genmedia-for-commerce/frontend/src/components/UploadBoxes.tsx:30
↓ 3 callersFunctionget_access_token
()
python/agents/airflow_version_upgrade_agent/deployment/setup_vertex_ai_search.py:24
↓ 3 callersFunctionget_background_mask_rembg
Generate a background mask using the rembg library.
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/image_utils.py:50
↓ 3 callersFunctionget_code_recursive
Recursively gets the code for a Pydantic type and its dependencies. Args: base_type: The Pydantic type to start from. Returns:
python/agents/camel/camel/camel_library/system_prompt.py:193
↓ 3 callersFunctionget_code_recursive
Recursively gets the code for a Pydantic type and its dependencies. Args: base_type: The Pydantic type to start from. Returns:
python/agents/camel/camel/camel_agent/prompts.py:218
↓ 3 callersMethodget_eval_comparison_groups
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:137
↓ 3 callersMethodget_eval_decision_config
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:134
↓ 3 callersFunctionget_eval_pool
Get or create the shared evaluation thread pool.
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/person_eval.py:122
↓ 3 callersMethodget_eval_schema
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:131
↓ 3 callersMethodget_events
Get events from the calendar within a time range.
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/mcp_servers/calendar/calendar_mcp_server.py:121
↓ 3 callersMethodget_existing_scopes
Return mapping of scope -> [rule_id, ...].
python/agents/invoice-processing/invoice_processing/core/rule_writer.py:60
↓ 3 callersFunctionget_order_analytics_query
Generate analytics query for BigQuery using ADK tools.
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/bigquery_utils/bigquery_tools.py:123
↓ 3 callersFunctionget_places_toolset
Return an MCP toolset connected to Google Maps Grounding Lite. The toolset includes a tool called `search_places` that can be used to search
python/agents/travel-concierge/travel_concierge/tools/places.py:28
↓ 3 callersMethodget_policy
(self)
python/agents/tau2-benchmark-agent/tests/conftest.py:57
↓ 3 callersFunctionget_prompt
(tools_enabled: bool = True)
python/agents/sdlc-user-story-refiner/sdlc_user_story_refiner/prompt.py:4
↓ 3 callersFunctionget_run_files
Get all file paths for a given run ID. Args: run_id: The unique identifier for the run. base_dir: The base directory where run files
python/agents/swe-benchmark-agent/swe_benchmark_agent/main.py:169
↓ 3 callersFunctionget_smart_layout
Intelligently maps a requested layout name to the best available layout in the current presentation.
python/agents/brand-aligned-presentations/presentation_agent/tools/presentation_orchestrator.py:40
↓ 3 callersMethodget_taxonomies
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:92
↓ 3 callersFunctionget_toolbox_client
Get MCP Toolbox client.
python/agents/data-science/data_science/sub_agents/alloydb/tools.py:56
↓ 3 callersMethodget_validation_phases
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:112
↓ 3 callersFunctionget_weather
Simulates a web search. Use it get information on weather. Args: query: A string containing the location to get weather information for.
python/agents/memory-bank/app/agent.py:26
↓ 3 callersFunctionhandleCopy
(text: string, messageId: string)
python/agents/deep-search/frontend/src/components/ChatMessagesView.tsx:306
↓ 3 callersFunctionhandleToggleGarmentSelection
(garmentPath: string)
python/agents/genmedia-for-commerce/frontend/src/product_enrichment/product_fitting/ProductFittingForm.tsx:120
↓ 3 callersFunctionhandleToggleGarmentSelection
(garmentPath: string)
python/agents/genmedia-for-commerce/frontend/src/image_vto/components/ImageVTOForm.tsx:173
↓ 3 callersFunctionhandleToggleGarmentSelection
(garmentPath: string)
python/agents/genmedia-for-commerce/frontend/src/video_vto/clothes/ClothesVideoVTO.tsx:342
↓ 3 callersFunctioninitialize_genai_client
Initializes and returns the global Vertex AI GenAI client.
python/agents/brand-aligned-presentations/presentation_agent/shared_libraries/config.py:73
↓ 3 callersFunctionlatex_to_text
Converts LaTeX-style math blocks frequently returned by Deep Research into plain Unicode text for better readability in PowerPoint.
python/agents/brand-aligned-presentations/presentation_agent/sub_agents/deep_research/tools/deep_research_tool.py:31
↓ 3 callersMethodlist_cases
Return sorted list of available case IDs.
python/agents/invoice-processing/invoice_processing/core/case_loader.py:51
↓ 3 callersFunctionload_agent_case_data
Load all agent processing outputs for a case. Note: The general agent does NOT consume any preprocessing/metadata files. It only processes
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:3604
↓ 3 callersFunctionload_evalset
Load evaluation set configuration.
python/agents/nexshift-agent/eval/test_agent_eval.py:298
↓ 3 callersMethodload_rule_base
Load and return the current rule_base.json.
python/agents/invoice-processing/invoice_processing/core/rule_writer.py:48
↓ 3 callersFunctionmaskSecret
maskSecret replaces most of the string with asterisks for logging.
go/agents/navallist/cmd/server/main.go:200
↓ 3 callersFunctionmergePrompt
(videoPrompt?: VideoPrompt)
python/agents/genmedia-for-commerce/frontend/src/pages/GenMediaTV/index.tsx:141
↓ 3 callersMethodnew_with_python_value
(self, value: _T)
python/agents/camel/camel/camel_library/interpreter/camel_value.py:102
↓ 3 callersFunctionparse
Extract markdown from a PDF file. Splits into pages and sends to Gemini in parallel.
python/agents/multiformat-hybrid-rag/src/document_preprocessing/parser/pdf_parser.py:142
↓ 3 callersFunctionparse
Extract markdown from an HTML file. 1. Read and clean HTML with BeautifulSoup 2. Check body has enough content (50+ words, 2+ sentences)
python/agents/multiformat-hybrid-rag/src/document_preprocessing/parser/html_parser.py:99
↓ 3 callersFunctionparse
Render a JSON/JSONL file as markdown for downstream chunking.
python/agents/multiformat-hybrid-rag/src/document_preprocessing/parser/json_parser.py:169
↓ 3 callersFunctionparseCodeBlocks
(content: string)
python/agents/retail-ai-location-strategy/app/frontend/lib/parseCodeBlocks.ts:20
↓ 3 callersFunctionparse_key_value_pairs
Parse key-value pairs from a comma-separated KEY=VALUE string.
python/agents/memory-bank/app/app_utils/deploy.py:65
↓ 3 callersFunctionparse_key_value_pairs
Parse key-value pairs from a comma-separated KEY=VALUE string.
python/agents/adk-ae-oauth/adk_ae_oauth/app_utils/deploy.py:56
↓ 3 callersFunctionparse_key_value_pairs
Parse key-value pairs from a comma-separated KEY=VALUE string.
python/agents/RAG/rag/app_utils/deploy.py:61
↓ 3 callersFunctionparse_key_value_pairs
Parse key-value pairs from a comma-separated KEY=VALUE string.
python/agents/genmedia-for-commerce/genmedia4commerce/app_utils/deploy.py:58
↓ 3 callersMethodpow
(self, other: Value)
python/agents/camel/camel/camel_library/interpreter/camel_value.py:1056
↓ 3 callersFunctionpreprocess_face_image
Preprocess face image: crop face, upscale, then remove background. Args: client: Gemini client instance for background removal up
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/other/background_changer/background_changer.py:42
↓ 3 callersFunctionpreprocess_face_image
Preprocess face image: crop face, upscale, then remove background. Returns: tuple: (reference_face, preprocessed_face) - refe
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/glasses/image_generation.py:77
↓ 3 callersFunctionproxySrc
(url: string)
python/agents/genmedia-for-commerce/frontend/src/product_enrichment/product_fitting/ProductFittingForm.tsx:24
↓ 3 callersMethodreceiver
(self)
python/agents/camel/camel/camel_library/interpreter/camel_value.py:454
↓ 3 callersFunctionrecoveryMiddleware
(next http.Handler)
go/agents/boat-agent/main.go:166
↓ 3 callersFunctionrender_slide_content
Intelligently populates a slide based on its layout and the spec's content.
python/agents/brand-aligned-presentations/presentation_agent/tools/presentation_orchestrator.py:166
↓ 3 callersMethodresolveTripID
resolveTripID looks up the database PK from the ADK Session ID.
go/agents/navallist/internal/agent/tools.go:41
↓ 3 callersFunctionresolve_county_fips
(input_str: str)
python/agents/economic-research-agent/economic_research/tools/hud_skill.py:39
↓ 3 callersMethodrevise
Revise a rule based on SME feedback, then run safety loop. 1. Revises the rule via LLM using SME feedback 2. Runs the same safety loo
python/agents/invoice-processing/invoice_processing/core/safe_rule_orchestrator.py:275
↓ 3 callersMethodrun
Write a rule to rule_base.json. Args: rule_dict: Complete rule dict matching ALF schema. mode: "add" (n
python/agents/invoice-processing/invoice_processing/core/rule_writer.py:156
↓ 3 callersMethodrun
( self, output_folder: Path, source_folder: Path, decision: str,
python/agents/invoice-processing/invoice_processing/shared_libraries/acting/general_invoice_agent.py:1697
↓ 3 callersFunctionrun_animate_model
Animate a ready model image into catwalk-style videos. Takes an image of a model already wearing garments and generates videos using Veo 3.1
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/video_vto/clothes/pipeline.py:140
↓ 3 callersFunctionrun_econometric_regression
Runs econometric analysis (OLS, Correlation Matrix, or ADF Stationarity Test) on numerical data. Args: dependent_values: List of
python/agents/economic-research-agent/economic_research/tools/econometrics_skill.py:12
↓ 3 callersFunctionrun_image_vto
Run the full image VTO pipeline. Yields results as each variation completes. Yield order: 1. A single VTOResult with status="reference_fac
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/clothes/pipeline.py:140
↓ 3 callersFunctionrun_r2v_pipeline
Run the clothes video VTO R2V pipeline. Uses Veo 3.1 R2V mode with three reference images at different framings (lower body, upper body, face
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/video_vto/clothes/generate_video_util.py:108
↓ 3 callersFunctionrun_simulation
(policy_code: str, metadata: list)
python/agents/policy-as-code/policy_as_code_agent/simulation.py:62
↓ 3 callersFunctionschedulePollState
(delay = 300)
go/agents/navallist/web/js/app.js:206
↓ 3 callersFunctionsearch
Embed a query and perform vector similarity search. Args: query: The query string. k: Number of results to return. filter
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/vector_search.py:173
↓ 3 callersFunctionsend_message
Helper to send a message and get the final text response.
python/agents/policy-as-code/tests/integration/test_conversational_flow.py:142
↓ 3 callersFunctionsetupTestDB
setupTestDB connects to the test database and returns the connection. It skips the test if the connection fails.
go/agents/navallist/internal/data/db_helper_integration_test.go:16
↓ 3 callersFunctiontruncateText
(text: string, maxLength: number)
python/agents/retail-ai-location-strategy/app/frontend/lib/summaryHelpers.ts:11
↓ 3 callersFunctionupdateConnectionStatus
(connected)
python/agents/bidi-demo/app/static/js/app.js:203
↓ 3 callersFunctionupdateStatusUI
(status)
go/agents/navallist/web/js/app.js:438
↓ 3 callersFunctionupdateTypeUI
(type)
go/agents/navallist/web/js/app.js:449
↓ 3 callersFunctionupdate_slide_in_spec
Surgically updates a slide in the session STATE. Automatically grows the deck if needed.
python/agents/brand-aligned-presentations/presentation_agent/tools/artifact_utils.py:229
↓ 3 callersMethodvalidate_rule_base_consistency
Validate that the rule base is internally consistent. Checks: 1. No duplicate rule IDs 2. No conflicting rules
python/agents/invoice-processing/invoice_processing/shared_libraries/alf_engine.py:1965
↓ 3 callersFunctionvalue_from_raw
( raw_value: Any, capabilities: camel_capabilities.Capabilities, namespace: Namespace, depende
python/agents/camel/camel/camel_library/interpreter/camel_value.py:1802
↓ 2 callersMethodAddTripCrew
(ctx context.Context, tripID, userID, displayName string)
go/agents/navallist/internal/data/store.go:23
↓ 2 callersFunctionApp
()
python/agents/genmedia-for-commerce/frontend/src/App.tsx:30
↓ 2 callersMethodCreateArtifact
CreateArtifact saves artifact metadata to the database.
go/agents/navallist/internal/data/artifacts.go:12
↓ 2 callersFunctionDegreesToDirection
DegreesToDirection converts a compass bearing in degrees to a cardinal direction string (e.g. "N", "NNE").
go/agents/sail-researcher/tools/weather.go:229
↓ 2 callersMethodFindPlaces
(ctx tool.Context, args PlacesArgs)
go/agents/sail-researcher/tools/places.go:86
↓ 2 callersMethodGetArtifact
(ctx context.Context, filename string)
go/agents/navallist/internal/data/store.go:40
↓ 2 callersMethodGetArtifact
GetArtifact retrieves artifact metadata by filename.
go/agents/navallist/internal/data/artifacts.go:27
↓ 2 callersMethodGetArtifactByID
(ctx context.Context, id string)
go/agents/navallist/internal/data/store.go:41
↓ 2 callersMethodGetTrip
GetTrip retrieves the trip details.
go/agents/navallist/internal/data/trips.go:241
↓ 2 callersMethodGetTrip
(ctx context.Context, tripID string)
go/agents/navallist/internal/data/store.go:22
↓ 2 callersMethodGetTripIDBySessionID
(ctx context.Context, sessionID string)
go/agents/navallist/internal/data/store.go:21
↓ 2 callersFunctionLoadConfig
LoadConfig loads configuration from environment variables.
go/agents/boat-agent/main.go:47
← previousnext →401–500 of 4,953, ranked by callers