Shangjie Chen and Copybara-Service
a17bcbb2aa
feat: Add a tool confirmation flow that can guard tool execution with explicit confirmation and custom input
...
The existing `LongRunningTool` does not define a programmatic way to provide & validate structured input, also it relies on LLM to reason and parse the user's response.
For a quick start, annotate the function with `FunctionTool(my_function, require_confirmation=True)`. A more advanced flow is shown in the `human_tool_confirmation` sample.
The new flow is similar to the existing Auth flow:
- User request a tool confirmation by calling `tool_context.request_confirmation()` in the tool or `before_tool_callback`, or just using the `require_confirmation` shortcut in FunctionTool.
- User can provide custom validation logic before tool call proceeds.
- ADK creates corresponding RequestConfirmation FunctionCall Event to ask user for confirmation
- User needs to provide the expected tool confirmation to a RequestConfirmation FunctionResponse Event.
- ADK then checks the response and continues the tool call.
PiperOrigin-RevId: 801019917
2025-08-29 13:56:54 -07:00
Xiang (Sean) Zhou and Copybara-Service
3ed9097983
chore: Add initial version of agent builder assistant that assists user to build config based agent
...
PiperOrigin-RevId: 801014241
2025-08-29 13:42:31 -07:00
Google Team Member and Copybara-Service
fcd748e17f
chore: add contributing Spanner tools RAG agent sample
...
PiperOrigin-RevId: 800938492
2025-08-29 10:00:43 -07:00
Google Team Member and Copybara-Service
11a2ffe35a
feat: allow setting agent/application name for BigQuery tools
...
This will allow tracking of tool usage per agent/application.
PiperOrigin-RevId: 800607186
2025-08-28 14:10:01 -07:00
Xiang (Sean) Zhou and Copybara-Service
8d6f138fbe
chore: Update oauth calendar sample agent to test the case when a subsequent tool call happends right after a tool call that requires auth
...
context: this is for reproducing https://github.com/google/adk-python/issues/1944 and verify corresponding fix
PiperOrigin-RevId: 800561025
2025-08-28 12:10:43 -07:00
Google Team Member and Copybara-Service
47b88d2b06
feat: Add the ask_data_insights tool for natural language queries on BigQuery data
...
PiperOrigin-RevId: 799267061
2025-08-25 14:23:10 -07:00
Wei Sun (Jack) and Copybara-Service
a360bc2542
docs: Clean up docs in sample
...
PiperOrigin-RevId: 798284758
2025-08-22 11:36:58 -07:00
Wei Sun (Jack) and Copybara-Service
2c088acc9b
docs: Fixes root_agent.yaml in tool_mcp_stdio_notion_config for Agent Config sample and add README.md
...
PiperOrigin-RevId: 798241478
2025-08-22 09:40:31 -07:00
Xiang (Sean) Zhou and Copybara-Service
395a50b5dc
chore: add triaging instructions for mcp
...
PiperOrigin-RevId: 798017380
2025-08-21 20:06:51 -07:00
Hangfei Lin and Copybara-Service
ddb070ff07
feat: Add support for store audio and transcription into events/sessions and artifacts
...
PiperOrigin-RevId: 798011660
2025-08-21 19:50:26 -07:00
Google Team Member and Copybara-Service
81a53b53d6
fix: add table metadata info into Spanner tool get_table_schema and fix the key usage info
...
This can help to provide more context and information about the table, like parent-child relationship, and row deletion policy etc.
PiperOrigin-RevId: 797562858
2025-08-20 19:30:52 -07:00
Google Team Member and Copybara-Service
fef5318a22
docs: add contributing bigtable sample
...
PiperOrigin-RevId: 797014958
2025-08-19 14:08:55 -07:00
Xuan Yang and Copybara-Service
f8fd6a4f09
chore: add the missing license header for core_callback_config init file
...
PiperOrigin-RevId: 796641146
2025-08-18 17:29:09 -07:00
Google Team Member and Copybara-Service
fa64545a9d
fix: Fix the path for agent card in A2A demo
...
`AGENT_CARD_WELL_KNOWN_PATH` already contains a leading slash so is not needed in the `agent_card` URL.
PiperOrigin-RevId: 796543208
2025-08-18 13:04:38 -07:00
Google Team Member and Copybara-Service
a117cf0af3
fix: Fix the path for agent card in A2A demo
...
`AGENT_CARD_WELL_KNOWN_PATH` already contains a leading slash so is not needed in the `agent_card` URL.
PiperOrigin-RevId: 796537920
2025-08-18 12:49:20 -07:00
Liang Wu and Copybara-Service
43f302ce1a
chore(config): Add _config suffix to all yaml-based agent examples
...
Also expand agent folder name to full spelling, e.g. ma --> multi_agent
PiperOrigin-RevId: 795926902
2025-08-16 16:10:43 -07:00
Liang Wu and Copybara-Service
ba6e85eb3f
docs(config): fix core_callback example
...
PiperOrigin-RevId: 795619488
2025-08-15 14:44:53 -07:00
Xiang (Sean) Zhou and Copybara-Service
a2832d5ac7
feat: Support custom tool_name_prefix in auto-generated GoogleApiToolset
...
PiperOrigin-RevId: 795508179
2025-08-15 09:44:16 -07:00
Wei Sun (Jack) and Copybara-Service
1328e6ef62
docs(config): Adds a minimal sample to demo how to use Agent Config to create a multi-agent setup
...
PiperOrigin-RevId: 795501478
2025-08-15 09:22:52 -07:00
Liang Wu and Copybara-Service
6c217bad82
chore: update models in samples/ folder to be gemini 2.0+
...
Gemini 1.5 is obsolete and not accessible to new projects.
PiperOrigin-RevId: 795330977
2025-08-14 21:36:23 -07:00
Google Team Member and Copybara-Service
c8059428a2
chore: add contributing spanner sample
...
PiperOrigin-RevId: 795154839
2025-08-14 12:41:28 -07:00
Xiang (Sean) Zhou and Copybara-Service
52284b1bae
fix: A2A RPC URL got overriden by host and port param of adk api server
...
PiperOrigin-RevId: 794708721
2025-08-13 13:20:26 -07:00
Kacper Jawoszek and Copybara-Service
a30c63c593
fix: aclose all async generators to fix OTel tracing context
...
See https://github.com/google/adk-python/issues/1670#issuecomment-3115891100
PiperOrigin-RevId: 794659547
2025-08-13 11:18:26 -07:00
Wei Sun (Jack) and Copybara-Service
c5af44cfc0
docs(config): Fixes tool_functions, which is a config-based sample for using tools
...
PiperOrigin-RevId: 794652291
2025-08-13 11:01:52 -07:00
Google Team Member and Copybara-Service
114db93d70
ADK changes
...
PiperOrigin-RevId: 794403729
2025-08-12 22:29:23 -07:00