Google Team Member and Copybara-Service
25b2806301
fix: accommodate for open api schema that do not have any 'properties'
...
PiperOrigin-RevId: 792028582
2025-08-07 00:30:50 -07:00
Liang Wu and Copybara-Service
ef837015f3
refactor(config): move BaseToolConfig to a separate file
...
PiperOrigin-RevId: 791841562
2025-08-06 14:18:20 -07:00
Liang Wu and Copybara-Service
2fff882fb0
feat(config): implement from_config() for BaseTool
...
PiperOrigin-RevId: 791520708
2025-08-05 22:26:23 -07:00
Xiang (Sean) Zhou and Copybara-Service
86a44873e9
fix: Annotate response type as None for transfer_to_agent tool and set empty Schema as response schema when tool has no response annotation
...
1. if a function has no return type annotation, we should treat it as returning any type
2. we use empty schema (with `type` as None) to indicate no type constraints and this is already supported by model server
PiperOrigin-RevId: 789808104
2025-08-01 10:22:28 -07:00
Google Team Member and Copybara-Service
bead607364
chore: Hide the ask_data_insights tool until the API is publicly available
...
PiperOrigin-RevId: 789806535
2025-08-01 10:17:13 -07:00
Xuan Yang and Copybara-Service
041f04e89c
chore: change LlmRequest.config's default value to be types.GenerateContentConfig() instead of None
...
PiperOrigin-RevId: 789792582
2025-08-01 09:36:20 -07:00
Google Team Member and Copybara-Service
7c9b0a2567
feat: add chat first-party tool
...
This tool answers questions about structured data in BigQuery using natural language.
PiperOrigin-RevId: 789000987
2025-07-30 12:35:20 -07:00
hsuyuming and Copybara-Service
9db5d9a3e8
fix: Unable to acquire impersonated credentials
...
Merge https://github.com/google/adk-python/pull/2003
add scope "https://www.googleapis.com/auth/cloud-platform " within google.auth.default
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2003 from hsuyuming:fix/issue_2001_support_impersonated_credential 8874a367273aca98460f7f250bfc4690f883ebbe
PiperOrigin-RevId: 788656025
2025-07-29 16:42:25 -07:00
Xiang (Sean) Zhou and Copybara-Service
927c75f0ee
chore: Replace imports by importing from actual module instead of from package (__init__.py)
...
PiperOrigin-RevId: 786342250
2025-07-23 10:49:43 -07:00
Google Team Member and Copybara-Service
13ff009d34
fix: Handle non-json-serializable values in the execute_sql tool
...
This change takes cares of SQL results containing values that are not json serializable (e.g. datetime, bignumeric) by converting them to their string representation.
PiperOrigin-RevId: 785719997
2025-07-21 23:17:06 -07:00
Xiang (Sean) Zhou and Copybara-Service
083dcb4465
feat: Add ComputerUseToolset
...
PiperOrigin-RevId: 785646071
2025-07-21 18:08:35 -07:00
Xiang (Sean) Zhou and Copybara-Service
3643b4ae19
feat: Allow toolset to process llm_request before tools returned by it
...
PiperOrigin-RevId: 785480813
2025-07-21 10:11:40 -07:00
Hangfei Lin and Copybara-Service
0ec69d05a4
feat: Enhance LangchainTool to accept more forms of functions
...
Now the LangchainTool can wrap:
* Langchain StructuredTool (sync and async).
* Langchain @Tool (sync and async).
This enhance the flexibility for user and enables async functionalities.
PiperOrigin-RevId: 784728061
2025-07-18 15:56:17 -07:00
Sean Zhou
6f016609e8
fix: support path level parameters for open_api_spec_parser
...
autoformat the changes
2025-07-17 18:09:40 -07:00
Hangfei Lin and GitHub
bb1b1c695f
Merge branch 'main' into fix/missing-path-level-parameters
2025-07-17 17:46:27 -07:00
Xiang (Sean) Zhou and Copybara-Service
377b5a9b78
fix: Add response schema for agent tool function declaration even when it's return None
...
PiperOrigin-RevId: 784216811
2025-07-17 09:51:34 -07:00
Xiang (Sean) Zhou and Copybara-Service
33ac8380ad
fix: Set response schema for function that returns None
...
PiperOrigin-RevId: 784053725
2025-07-16 23:59:45 -07:00
Xiang (Sean) Zhou and Copybara-Service
a5d6f1e52e
fix: Support project-based gemini model path for BuiltInCodeExecutor and all built-in tools
...
This is to support model path like :
projects/265104255505/locations/us-central1/publishers/google/models/gemini-2.0-flash-001"
PiperOrigin-RevId: 783413351
2025-07-15 11:41:37 -07:00
Xiang (Sean) Zhou and Copybara-Service
62a611956f
fix: Add instruction in long running tool description to avoid being invoked again by model
...
PiperOrigin-RevId: 783039620
2025-07-14 14:18:49 -07:00
Sean Zhou
4c5ef1e235
feat: Add configure service account auth for google_api_tool_set
2025-07-10 21:23:59 -07:00
Yanfei Chen and Copybara-Service
5a721d99a7
test: add the unit test for EnterpriseWebSearchTool
...
PiperOrigin-RevId: 781743222
2025-07-10 17:16:13 -07:00
google-labs-jules[bot] and Hangfei Lin
0959b06dbd
Fix: Handle unexpected 'parameters' argument in FunctionTool.run_async
...
The LLM occasionally includes an unexpected 'parameters' argument when calling tools, specifically observed with 'transfer_to_agent'. This change makes FunctionTool.run_async more robust by filtering arguments against the function signature before invocation.
This resolves issue #1637 .
Update test_function_tool.py
fix typing
fix: add `from __future__ import annotations`
2025-07-02 00:22:09 +00:00
Google Team Member and Copybara-Service
dc43d518c9
feat: Support protected write in BigQuery execute_sql tool
...
This change adds a new enum value which the agent builder can pass in the `BigQueryToolConfig` to allow limited writes to the `execute_sql` tool.
PiperOrigin-RevId: 776661744
2025-06-27 11:44:30 -07:00
Xiang (Sean) Zhou and Copybara-Service
045aea9b15
fix: Support API-Key for MCP Tool authentication
...
PiperOrigin-RevId: 776641474
2025-06-27 10:47:42 -07:00
Xiang (Sean) Zhou and Copybara-Service
ffcba70686
chore: skip mcp and a2a tests for python 3.9
...
PiperOrigin-RevId: 773785385
2025-06-20 11:46:31 -07:00