feat: Add get_job_info tool to BigQuery toolset

This CL introduces a new tool, get_job_info, to the BigQuery toolset. This tool allows retrieving metadata about a BigQuery job, such as slot usage, job configuration, statistics, and job status.

Closes #2928

Co-authored-by: Dongyu Jia <dongyuj@google.com>
PiperOrigin-RevId: 825762399
This commit is contained in:
Dongyu Jia
2025-10-29 16:46:31 -07:00
committed by Copybara-Service
parent 72a8d8d85b
commit 64294572c1
5 changed files with 330 additions and 1 deletions
@@ -41,7 +41,7 @@ async def test_bigquery_toolset_tools_default():
tools = await toolset.get_tools()
assert tools is not None
assert len(tools) == 9
assert len(tools) == 10
assert all([isinstance(tool, GoogleTool) for tool in tools])
expected_tool_names = set([
@@ -49,6 +49,7 @@ async def test_bigquery_toolset_tools_default():
"get_dataset_info",
"list_table_ids",
"get_table_info",
"get_job_info",
"execute_sql",
"ask_data_insights",
"forecast",