MCPcopy Create free account

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

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

↓ 2 callersFunctioncheck_dependencies
Check if required packages are installed.
python/agents/nexshift-agent/deployment/deploy.py:58
↓ 2 callersFunctioncheck_period_overlap
Checks if the requested period overlaps with existing rosters. Args: start_date: Start date in YYYY-MM-DD format num_days: N
python/agents/nexshift-agent/nexshift_agent/sub_agents/tools/schedule_utils.py:96
↓ 2 callersFunctionclassify_frames
Classify a list of sampled frames using parallel processing. Args: sampled_frames: List of sampled frame bytes. client: Gemini cl
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/r2v/shoes/images_utils.py:266
↓ 2 callersFunctionclassify_rotation_detailed
Classify rotation with detailed results. Returns dict containing: - classification: The final classification - reason: Why this c
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/rotation_classifier.py:107
↓ 2 callersMethodclose
Stop and remove the container with proper cleanup.
python/agents/swe-benchmark-agent/swe_benchmark_agent/swebench_environment.py:184
↓ 2 callersFunctioncloseCameraPreview
()
python/agents/bidi-demo/app/static/js/app.js:848
↓ 2 callersMethodcompute_features
Compute features from image embeddings.
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/r2v/shoes/classify_shoes_local.py:147
↓ 2 callersFunctionconvertImageToDataUrl
(imagePath: string)
python/agents/genmedia-for-commerce/frontend/src/image_vto/components/ImageVTOForm.tsx:212
↓ 2 callersFunctionconvertImageToDataUrl
(imagePath: string)
python/agents/genmedia-for-commerce/frontend/src/video_vto/clothes/ClothesVideoVTO.tsx:155
↓ 2 callersFunctionconvertToDataUrl
(imagePath: string)
python/agents/genmedia-for-commerce/frontend/src/image_vto/components/GlassesImageVTOForm.tsx:141
↓ 2 callersMethodconvert_html_to_text
Strip HTML of tags and add separators to convert observation into simple mode
python/agents/personalized-shopping/personalized_shopping/shared_libraries/web_agent_site/envs/web_agent_text_env.py:239
↓ 2 callersFunctioncount_by_nurse
(roster)
python/agents/nexshift-agent/nexshift_agent/sub_agents/tools/history_tools.py:1678
↓ 2 callersFunctioncreate_data_store
( project_id, location, collection, data_store_id, display_name, content_config, )
python/agents/airflow_version_upgrade_agent/deployment/setup_vertex_ai_search.py:56
↓ 2 callersFunctioncreate_orders_table
Create the orders table with proper schema.
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/bigquery_utils/create_bigquery_environment.py:38
↓ 2 callersFunctioncreate_table_if_not_exist
Create BigQuery table with time partitioning if it doesn't exist.
core/rag-vector-search/data_ingestion/data_ingestion_pipeline/components/process_data.py:201
↓ 2 callersFunctiondataUrlToBlob
(dataUrl: string)
python/agents/genmedia-for-commerce/frontend/src/other/services/backgroundChangerApi.ts:138
↓ 2 callersFunctiondataUrlToFile
(dataUrl: string, filename: string)
python/agents/genmedia-for-commerce/frontend/src/spinning/services/interpolationApi.ts:196
↓ 2 callersFunctiondeep_research_search
Async wrapper for Deep Research to prevent blocking the main app loop. Includes a timeout and conciseness injection for performance.
python/agents/brand-aligned-presentations/presentation_agent/sub_agents/deep_research/tools/deep_research_tool.py:156
↓ 2 callersFunctiondelete
(resource_id: str)
python/agents/llm-auditor/deployment/deploy.py:58
↓ 2 callersFunctiondescribe_all_garments
Describe all garment images in parallel. Args: client: Gemini client instance garment_images: List of garment images as bytes or
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/clothes/garment_description.py:110
↓ 2 callersFunctiondownloadVideoFromUrl
(url: string, filename: string = 'animation.mp4')
python/agents/genmedia-for-commerce/frontend/src/video_vto/services/videoVtoApi.ts:177
↓ 2 callersFunctionensure_index
Create an ANN index on the collection's embedding field if it doesn't exist. Without an index, semantic search is brute-force and stops working p
python/agents/multiformat-hybrid-rag/src/utils/vs_utils.py:104
↓ 2 callersFunctionevaluate_background_change_image
Evaluate a generated background change image against reference face. Uses shared process pool from person_eval to avoid DeepFace threading issues
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/other/background_changer/background_changer.py:289
↓ 2 callersFunctionevaluate_vto_image
Evaluate a generated VTO image against reference face using InsightFace. Args: vto_image_bytes: Generated VTO image bytes referen
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/image_vto/clothes/vto_generation.py:320
↓ 2 callersFunctionevent_stream
()
python/agents/genmedia-for-commerce/genmedia4commerce/mcp_server/video_vto/clothes/clothes_api.py:76
↓ 2 callersMethodexecute_patch
Call Gemini Pro to surgically correct specific fields in the output. Unlike execute() which regenerates the entire Postprocessing
python/agents/invoice-processing/invoice_processing/shared_libraries/alf_engine.py:1083
↓ 2 callersFunctionextract_processing_summary
Extract high-level summary from agent outputs.
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:3755
↓ 2 callersFunctionextract_relevant_rules_book_sections
Extract sections from the rules book relevant to the failing phase/step. Rather than sending the entire 80K rules book to the LLM, extrac
python/agents/invoice-processing/invoice_processing/core/prompts.py:270
↓ 2 callersFunctionfed_meeting_probabilities
(nmoves: float)
python/agents/fomc-research/fomc_research/shared_libraries/price_utils.py:112
↓ 2 callersFunctionfetch_hud_chas_data
Queries HUD CHAS API for housing problem and cost burden statistics. Args: county_fips: 5-digit County FIPS code or common city
python/agents/economic-research-agent/economic_research/tools/hud_skill.py:248
↓ 2 callersFunctionfetch_hud_income_limits
Fetches HUD Income Limits (AMI) with nested JSON schema matching. Args: county_fips: 5-digit County FIPS code or common city nam
python/agents/economic-research-agent/economic_research/tools/hud_skill.py:113
↓ 2 callersFunctionfetch_hud_usps_crosswalk
Queries HUD USPS crosswalk API to map ZIP code to County FIPS code (type=2).
python/agents/economic-research-agent/economic_research/tools/hud_skill.py:207
↓ 2 callersFunctionfetch_mls_property_listings
Queries MLS listings for a target metropolitan area and performs automated investment analysis (Cap Rate, Cash-on-Cash Return) by correlatin
python/agents/economic-research-agent/economic_research/tools/mls_property_analysis_skill.py:16
↓ 2 callersFunctionfind_deleted_files
Find files that were deleted from GCS but still tracked in BQ. Compares the preprocessed table (our known state) against the Object Table (li
python/agents/multiformat-hybrid-rag/src/removal/propagate_gcs_deletions.py:51
↓ 2 callersFunctionfind_resume_point
Identify which steps are completed and which is next (pure function).
python/agents/small-business-loan-agent/small_business_loan_agent/tools/tools.py:65
↓ 2 callersFunctionformatEventData
(data: any)
python/agents/deep-search/frontend/src/components/ActivityTimeline.tsx:42
↓ 2 callersFunctionformat_list
(items: list[dict[str, str] | str])
python/agents/product-catalog-ad-generation/content_gen_agent/func_tools/generate_storyline.py:370
↓ 2 callersMethodformat_schema
Formats the DDL schema for use in SQLGlot.
python/agents/data-science/data_science/sub_agents/bigquery/chase_sql/sql_postprocessor/sql_translator.py:279
↓ 2 callersFunctionframes_in_extremity_class
Find the range of frames that have the same class as either the first or last image. Uses binary search, searching only within 60 frames from the
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/spinning/r2v/shoes/video_validation_r2v.py:418
↓ 2 callersMethodgenerate
Call Gemini Pro and return (response_text, latency_ms).
python/agents/invoice-processing/invoice_processing/core/rule_discoverer.py:82
↓ 2 callersFunctiongenerateAnimatedVideo
( request: GenerateVideoRequest )
python/agents/genmedia-for-commerce/frontend/src/video_vto/services/videoVtoApi.ts:54
↓ 2 callersFunctiongenerate_and_render_deck
Orchestrates the entire deck generation process.
python/agents/brand-aligned-presentations/presentation_agent/tools/presentation_orchestrator.py:413
↓ 2 callersFunctiongenerate_and_save_image
Generates an image and saves it to the specified path. Returns image bytes on success.
python/agents/product-catalog-ad-generation/scripts/generate_sample_data.py:165
↓ 2 callersFunctiongenerate_one_image
Generates a single image using Gemini, handling retries. Args: prompt (str): The prompt for image generation. input_images (List[
python/agents/product-catalog-ad-generation/content_gen_agent/func_tools/generate_image.py:90
↓ 2 callersFunctiongenerate_schema_from_obj
(obj)
python/agents/policy-as-code/policy_as_code_agent/utils/llm.py:77
↓ 2 callersFunctiongenerate_segment
(index: int)
python/agents/genmedia-for-commerce/genmedia4commerce/mcp_server/spinning/interpolation/other/other_mcp.py:119
↓ 2 callersFunctiongenerate_veo
Generate videos using Veo, automatically handling batching for requests > 4 videos. Args: client: The Veo client collage_img: The
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/video_vto/glasses/generate_video_util.py:71
↓ 2 callersMethodgetCustomer
* Retrieves a customer based on their ID. * * @param currentCustomerId The ID of the customer to retrieve. * @returns The Customer object if
typescript/agents/customer_service/customer_service/entities/customer.ts:104
↓ 2 callersFunctiongetDefaultProduct
(capability: Capability)
python/agents/genmedia-for-commerce/frontend/src/config/featureConstraints.ts:239
↓ 2 callersMethodget_agent
Instantiates the Auditor Judge agent using ADK.
python/agents/economic-research-agent/economic_research/sub_agents/agent.py:15
↓ 2 callersFunctionget_all_evalsets
Discover all evalset files and their test files.
python/agents/nexshift-agent/eval/test_agent_eval.py:316
↓ 2 callersFunctionget_all_readers
Returns the set of readers for a value and the visited objects. Args: value: The value to get the readers for. visited_objects: The s
python/agents/camel/camel/camel_library/capabilities/utils.py:32
↓ 2 callersMethodget_available_tools
Get list of available LangChain Gmail tools.
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/gmail_langchain/gmail_manager.py:316
↓ 2 callersFunctionget_current_time
Simulates getting the current time for a city. Args: query: The name of the city to get the current time for. Returns: A str
python/agents/memory-bank/app/agent.py:40
↓ 2 callersMethodget_customer
Retrieves a customer based on their ID. Args: customer_id: The ID of the customer to retrieve. Returns:
python/agents/customer-service/customer_service/entities/customer.py:111
↓ 2 callersFunctionget_dataproc_logs
Fetches raw log entries from Google Cloud Logging for Dataproc resources. This is a common helper function that constructs a filter string t
python/agents/plumber-data-engineering-assistant/plumber_agent/sub_agents/monitoring_agent/tools/dataproc.py:154
↓ 2 callersFunctionget_dataproc_normal_job_logs_with_id
Executes a gcloud command to fetch and wait for (or stream) logs for a traditional Dataproc Job or Batch, returning the raw command result.
python/agents/plumber-data-engineering-assistant/plumber_agent/sub_agents/monitoring_agent/tools/dataproc.py:220
↓ 2 callersFunctionget_dataset_setup_queries
Generate queries to set up the BigQuery dataset and tables.
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/bigquery_utils/bigquery_tools.py:159
↓ 2 callersFunctionget_debug_session_folder
Get or create a timestamped folder for this debug session.
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/debug_utils.py:41
↓ 2 callersMethodget_dependencies
( self, visited_objects: frozenset[int] = frozenset() )
python/agents/camel/camel/camel_library/capabilities/utils.py:24
↓ 2 callersMethodget_document_types
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:64
↓ 2 callersMethodget_expected_extraction_fields
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:160
↓ 2 callersMethodget_extraction_schema
(self, doc_type: str)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:81
↓ 2 callersMethodget_extraction_schemas
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:78
↓ 2 callersFunctionget_face_embedding_insightface
Extract face embedding from an image using InsightFace. Args: img_bytes: Image as bytes. mask_eyes: If True, mask the eye regions
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/person_eval.py:204
↓ 2 callersFunctionget_font_style
(placeholder_type, type_key)
python/agents/brand-aligned-presentations/presentation_agent/tools/pptx_editor.py:320
↓ 2 callersFunctionget_hud_entity_id
Standardize entity ID: Austin (48453) -> 4845399999.
python/agents/economic-research-agent/economic_research/tools/hud_skill.py:46
↓ 2 callersFunctionget_insightface_app
Get or create the InsightFace FaceAnalysis app. Uses buffalo_l model for highest accuracy, running on CPU via ONNX.
python/agents/genmedia-for-commerce/genmedia4commerce/workflows/shared/person_eval.py:50
↓ 2 callersMethodget_investigation_config
(self)
python/agents/invoice-processing/invoice_processing/shared_libraries/master_data_loader.py:154
↓ 2 callersFunctionget_product_recommendations
Provides product recommendations based on the type of plant. Args: plant_type: The type of plant (e.g., 'Petunias', 'Sun-loving annuals')
python/agents/customer-service/customer_service/tools/tools.py:191
↓ 2 callersFunctionget_project_id
Gets the GCP project ID from environment or gcloud config.
python/agents/policy-as-code/policy_as_code_agent/utils/dataplex.py:6
↓ 2 callersMethodget_rules_by_scope
Get all active rules for a specific scope.
python/agents/invoice-processing/invoice_processing/shared_libraries/alf_engine.py:2024
↓ 2 callersFunctionget_secret
Fetches secret from Secret Manager efficiently.
python/agents/high-volume-document-analyzer/high_volume_document_analyzer/tools/process_toolset.py:71
↓ 2 callersFunctionget_state_from_city
Heuristic to map city names to their primary states.
python/agents/economic-research-agent/economic_research/tools/metro_matrix_skill.py:13
↓ 2 callersMethodget_tolerance_for_step
Get tolerance configuration for a specific step. Returns: Dict with: - value: The tolerance value
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:2201
↓ 2 callersFunctionget_user_agent
Build user agent string identifying this agent.
python/agents/genmedia-for-commerce/genmedia4commerce/agent_utils.py:365
↓ 2 callersFunctionget_webshop_env
Lazy-load the webshop environment on first access without using global.
python/agents/personalized-shopping/personalized_shopping/shared_libraries/init_env.py:44
↓ 2 callersFunctionget_workflow_template_client
Creates a Dataproc WorkflowTemplateServiceClient for a specific region. Args: region: The GCP region for the client. Returns:
python/agents/plumber-data-engineering-assistant/plumber_agent/sub_agents/dataproc_agent/tools/dataproc_workflow.py:26
↓ 2 callersFunctionhandleDownload
(index: number)
python/agents/genmedia-for-commerce/frontend/src/video_vto/glasses/GlassesVideoVTO.tsx:170
↓ 2 callersFunctionhandleDownload
(index: number)
python/agents/genmedia-for-commerce/frontend/src/video_vto/clothes/ClothesVideoVTO.tsx:316
↓ 2 callersFunctionhandleFileChange
(boxType: string)
python/agents/genmedia-for-commerce/frontend/src/components/UploadBoxes.tsx:44
↓ 2 callersFunctionhandleImageUpload
(setter: (img: string | null) => void)
python/agents/genmedia-for-commerce/frontend/src/image_vto/components/GlassesImageVTOForm.tsx:99
↓ 2 callersFunctionhandleIndustryClick
(industry: Industry)
python/agents/genmedia-for-commerce/frontend/src/pages/Dashboard/ByIndustryView.tsx:175
↓ 2 callersFunctionhandleItemUpdate
(itemId, value)
go/agents/navallist/web/js/app.js:711
↓ 2 callersFunctionhandleLoggedOut
()
go/agents/navallist/web/js/auth.js:67
↓ 2 callersFunctionhandleRemoveImage
(boxType: string)
python/agents/genmedia-for-commerce/frontend/src/components/UploadBoxes.tsx:58
↓ 2 callersFunctionhandleSelectModelFromGallery
(preset: ModelPreset)
python/agents/genmedia-for-commerce/frontend/src/product_enrichment/product_fitting/ProductFittingForm.tsx:144
↓ 2 callersFunctionhandleSelectModelFromGallery
(modelPath: string)
python/agents/genmedia-for-commerce/frontend/src/image_vto/components/ImageVTOForm.tsx:207
↓ 2 callersFunctionhandleSelectModelFromGallery
(modelPath: string)
python/agents/genmedia-for-commerce/frontend/src/video_vto/clothes/ClothesVideoVTO.tsx:374
↓ 2 callersFunctioninitialize_gemini_client
Initializes and returns a Gemini client. Returns: A genai.Client instance or None if initialization fails.
python/agents/product-catalog-ad-generation/content_gen_agent/utils/gemini_utils.py:117
↓ 2 callersFunctioninvestigate_agent_case
Complete investigation of agent processing for one case. v2.0.0: Added per_group_validator and discovered_rules for Layer 3 validation.
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:4947
↓ 2 callersFunctionisActive
(path: string)
python/agents/genmedia-for-commerce/frontend/src/components/TopNav.tsx:37
↓ 2 callersFunctionis_bound
(m: Callable[..., Any])
python/agents/camel/camel/camel_library/interpreter/interpreter.py:2209
↓ 2 callersMethoditem_page
Render and return the HTML for a product item page
python/agents/personalized-shopping/personalized_shopping/shared_libraries/web_agent_site/envs/web_agent_text_env.py:454
↓ 2 callersFunctionllm_generate_policy_code
Generates a Python function that evaluates a policy query using Vertex AI.
python/agents/policy-as-code/policy_as_code_agent/utils/llm.py:118
↓ 2 callersFunctionload_csv_to_bigquery
Loads a CSV file into a BigQuery table. Args: data_project_id: GCP Project for BQ data. dataset_name: The name of the BigQuery da
python/agents/data-science/data_science/utils/create_bq_table.py:30
↓ 2 callersFunctionload_json
Load JSON file
python/agents/invoice-processing/eval/compare_postprocessing.py:34
↓ 2 callersFunctionload_json_file
Load JSON file safely
python/agents/invoice-processing/invoice_processing/shared_libraries/investigation/investigate_agent_reconst.py:3593
↓ 2 callersFunctionload_metadata
Loads metadata from a GCS URI.
python/agents/policy-as-code/policy_as_code_agent/utils/gcs.py:8
↓ 2 callersFunctionload_products
(filepath, num_products=None, human_goals=True)
python/agents/personalized-shopping/personalized_shopping/shared_libraries/web_agent_site/engine/engine.py:255
← previousnext →601–700 of 4,953, ranked by callers