Commit Graph

123 Commits

Author SHA1 Message Date
Jack Wotherspoon
8b635955fc docs: update typo in MySQL tool (#526)
Updating description of MySQL tool to properly mention MySQL as it
has a typo and currently says SQL Server.
2025-05-05 10:10:59 -06:00
Andrew Brook
91cc3e366d docs: replace 'product' with 'solution' (#522)
To better conform to Google Cloud terminology, Toolbox should be
referred to as a "solution" rather than a "product".
2025-05-02 17:40:32 -07:00
shyam-cb
d7390b06b7 feat: add Couchbase as Source and Tool (#307)
Added couchbase support to Genai Toolbox

---------

Co-authored-by: duwenxin <duwenxin@google.com>
2025-05-02 16:37:58 -04:00
Yuan
11ea7bc584 feat: add postgres-execute-sql tool (#490)
This tool can be used across all postgres sources.

`postgres-execute-sql` config is as below:

```
tools:
  postgres_execute_sql_tool:
    kind: "postgres-execute-sql"
    source: my-alloydb-source // or any other sources that is compatible with this tool
    description: Use this tool to execute sql.
```

The `postgres-execute-sql` tool takes one parameter. Example request as
follow:
```
curl -X POST -H "Content-Type: application/json" -d '{"sql": "SELECT 1"}' http://127.0.0.1:5000/api/tool/postgres_execute_sql_tool/invoke
```
2025-05-01 17:43:41 +00:00
Huan Chen
b2176c0e2f docs: update bigquery samples (#512)
1. Updated ADK dependencies.
2. Fixed sample code for Toolbox + ADK usage.
3. Updated the BigQuery MCP quickstart file to properly show the images.
2025-05-01 10:10:24 -07:00
Andrew Brook
f629df642b docs: update MCP Toolbox description (#504)
Minor edit to description of Toolbox to avoid some sensitivity around
production/enterprise suitability as that may imply compliance features
or guarantees which aren't suitable to an early stage product.

---------

Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
Co-authored-by: Yuan Teoh <yuanteoh@google.com>
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
2025-04-29 13:52:59 -07:00
Huan Chen
570d7caf4d docs: update title for bigquery docs (#503) 2025-04-29 15:08:57 -04:00
Huan Chen
9ba6235106 docs: Create samples folder and add BigQuery MCP guide (#496)
1. Create `samples` folder
2. Moved BQ samples into `samples`
3. Add BigQuery MCP guide

---------

Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
2025-04-28 18:16:57 -04:00
Kurtis Van Gent
8646989f80 chore: Update SQLite-sql title (#493) 2025-04-25 22:55:55 +00:00
Kurtis Van Gent
d1c870c004 chore: update bigquery-sql title (#492) 2025-04-25 16:51:41 -06:00
Huan Chen
7add34b544 docs: Add BigQuery quickstart colab and guide (#485)
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
2025-04-25 16:48:57 -04:00
Wenxin Du
b8dd50aded docs: Update IAM guide for Cloud SQL and AlloyDB (#480) 2025-04-25 15:27:12 -04:00
Kurtis Van Gent
a352045116 docs: update diagram to include more supported databases (#478) 2025-04-23 14:01:14 -06:00
release-please[bot]
4ed16ccd18 chore(main): release 0.4.0 (#411)
🤖 I have created a release *beep* *boop*
---


##
[0.4.0](https://github.com/googleapis/genai-toolbox/compare/v0.3.0...v0.4.0)
(2025-04-23)


### Features

* Add `AuthRequired` to Neo4j & Dgraph Tools
([#434](https://github.com/googleapis/genai-toolbox/issues/434))
([afbf4b2](afbf4b2dae))
* Add `AuthRequired` to tool manifest
([#433](https://github.com/googleapis/genai-toolbox/issues/433))
([d9388ad](d9388ad57e))
* Add BigQuery source and tool
([#463](https://github.com/googleapis/genai-toolbox/issues/463))
([8055aa5](8055aa519f))
* Add Bigtable source and tool
([#418](https://github.com/googleapis/genai-toolbox/issues/418))
([ae53b8e](ae53b8eeff))
* Add IAM AuthN to AlloyDB Source
([#399](https://github.com/googleapis/genai-toolbox/issues/399))
([e8ed447](e8ed447d91))
* Add IAM AuthN to Cloud SQL Sources
([#414](https://github.com/googleapis/genai-toolbox/issues/414))
([be85b82](be85b82078))
* Add toolset feature to mcp
([#425](https://github.com/googleapis/genai-toolbox/issues/425))
([e307857](e307857085)),
closes [#403](https://github.com/googleapis/genai-toolbox/issues/403)
* Add SQLite source and tool
([#438](https://github.com/googleapis/genai-toolbox/issues/438))
([fc14cbf](fc14cbfd07))
* Support env replacement for tools.yaml
([#462](https://github.com/googleapis/genai-toolbox/issues/462))
([eadb678](eadb678a7b))


### Bug Fixes

* [#419](https://github.com/googleapis/genai-toolbox/issues/419) TLS
https URL for SSE endpoint
([#420](https://github.com/googleapis/genai-toolbox/issues/420))
([0a7d3ff](0a7d3ff06b))
* **docs:** Fix link 'Edit this page'
([#454](https://github.com/googleapis/genai-toolbox/issues/454))
([969065e](969065e561)),
closes [#427](https://github.com/googleapis/genai-toolbox/issues/427)
* Update http error code from invocation
([#468](https://github.com/googleapis/genai-toolbox/issues/468))
([ff7c0ff](ff7c0ffc65)),
closes [#465](https://github.com/googleapis/genai-toolbox/issues/465)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2025-04-23 13:22:25 -04:00
Wenxin Du
eadb678a7b feat: Support env replacement for tool.yaml (#462)
Environment variable replacement is needed so that users don't have to
hardcode their secrets in configuring `tools.yaml`.
Both formats `$ENV_NAME` and `${ENV_NAME}` are standard ways to declare
an environment variable.
However, some database statement placeholders that are already using the
`$ENV_NAME` format.
Therefore, we only support env var declaration using `${ENV_NAME}` to
disambiguate it from other usages.

Fixes issue: https://github.com/googleapis/genai-toolbox/issues/431
2025-04-23 07:33:02 -04:00
waqarahmed6095
fc14cbfd07 feat: sqlite implementation (#438)
Adding sqlite implementation

---------

Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
Co-authored-by: Yuan Teoh <yuanteoh@google.com>
2025-04-22 22:25:53 -07:00
Huan Chen
8055aa519f feat: Add BigQuery source and tool (#463)
A `BigQuery` source can be added as the following example:

```yaml
sources:
  my-bigquery-source:
    kind: bigquery
    project: bigframes-dev
    location: us # This field is optional
```

A `BigQuery` tool can be added as below:
```yaml
tools:
  search-hotels-by-name:
    kind: bigquery-sql
    source: my-bigquery-source
    description: Search for hotels based on name.
    parameters:
      - name: name
        type: string
        description: The name of the hotel.
```

---------

Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
2025-04-22 20:37:38 -06:00
Michael Hunger
53ce38021d docs: add tested clients table (#428)
Added a table with supported clients for MCP Server

---------

Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2025-04-22 10:11:52 -07:00
Twisha Bansal
ba1d52aa04 docs: add ADK to colab quickstart (#459) 2025-04-21 14:14:59 +00:00
Twisha Bansal
2c3f00c0cd docs: better response messages for ADK agent (#460) 2025-04-21 19:41:46 +05:30
Twisha Bansal
71132d05d2 docs: add ADK in quickstart intro (#458) 2025-04-21 18:02:23 +05:30
F. Hinkelmann
c4de4be044 docs: add ADK to local quickstart (#439)
Add ADK to the local quickstart.

---------

Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com>
2025-04-21 06:24:31 +00:00
Andreas Deininger
8954fb0378 chore(docs): fix duplicate persistance key warning (#453)
When previewing the site, warnings are printed out:

```
WARN  Shortcode "tabpane": duplicate tab-persistence key "yaml" detected, disabling persistence to avoid multiple tab display.
```

This PR fixes these issues.

Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2025-04-18 11:25:57 -06:00
An Nguyen
ae53b8eeff feat: Add Bigtable source and tool (#418)
# Add Bigtable support

A `bigtable` source can be added as the following example

```
sources:
  test-bigtable-source:
    kind: "bigtable"
    project: "sample-project"
    instance: "sample-instance"
```

A `bigtable` tool can be added as below

```
tools:
  get-test-tool-data:
    kind: bigtable-sql
    source: test-bigtable-source
    description: Some description
    statement: SELECT * FROM `test-table` WHERE address['state'] = @state;
    parameters:
      - name: state
        type: string
        description: Filter by state
```

---------

Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
2025-04-18 10:48:28 -06:00
Andreas Deininger
91f4402a71 Fix typos (#451)
This PR fixes a few typos I spotted in the project.
2025-04-17 17:40:43 -07:00
Yuan
4eb78fb2ac docs(mcp): add toolset feature to mcp doc (#450)
Add instructions on using toolset in docs.
Also added toolset to the quickstart example to reflect that we support
toolset within mcp and be consistent with the local quickstart.
2025-04-16 17:40:24 -07:00
Kurtis Van Gent
4dba0df12d chore(ci/cd): pin version of hugo (#444)
Hugo's recent release seems to have broken docsy:
https://github.com/gohugoio/hugo/issues/13599
There's a fix in progress: https://github.com/google/docsy/pull/2215

To unblock CI/CD, I've pinned hugo to 0.145.0 instead.
2025-04-15 09:55:28 +05:30
Twisha Bansal
62e8d7bec4 chore: fix link (#430) 2025-04-10 11:33:34 +00:00
Twisha Bansal
f232e5387e docs: make quickstart async-first (#421) 2025-04-10 17:00:48 +05:30
Twisha Bansal
e9bd41aa18 docs: added toolbox-core to toolbox documentation (#424) 2025-04-10 14:10:38 +05:30
Twisha Bansal
f1ca030038 docs: Modify quickstart introduction (#429) 2025-04-10 14:07:19 +05:30
Twisha Bansal
7ea3c904ce docs: Add a toolbox-core quickstart (#407)
Co-authored-by: Anubhav Dhawan <anubhavdhawan@google.com>
2025-04-10 05:05:57 +00:00
Twisha Bansal
cf967452e1 chore: rename sdk repo to mcp-toolbox-sdk-python (#423) 2025-04-09 23:19:56 +05:30
Twisha Bansal
6b907db9f0 chore: fix link (#417) 2025-04-08 21:32:30 +00:00
Wenxin Du
be85b82078 feat: add IAM AuthN to Cloud SQL Sources (#414)
Add IAM support for Cloud SQL source connection using Go language
connector:
https://pkg.go.dev/cloud.google.com/go/cloudsqlconn#section-readme
2025-04-08 16:26:00 -04:00
Wenxin Du
e8ed447d91 feat: Add IAM authentication to AlloyDB Source (#399)
Add IAM support for AlloyDB source connection:
https://pkg.go.dev/cloud.google.com/go/alloydbconn#section-readme
2025-04-08 13:02:44 -04:00
Kurtis Van Gent
8ef32cc73a chore: rebrand as MCP Toolbox (#412) 2025-04-07 15:46:20 -06:00
Twisha Bansal
5cf4b8fea1 chore: remove default project id from quickstart colab. (#405) 2025-04-07 19:00:43 +05:30
Anubhav Dhawan
a9905cf39e doc: fix typo in the MCP Quickstart (#401) 2025-04-05 21:26:23 +00:00
Anubhav Dhawan
460fe5c944 doc: fix minor typo in MCP guide (#402) 2025-04-05 15:13:21 -06:00
release-please[bot]
12222fe27a chore(main): release 0.3.0 (#382)
🤖 I have created a release *beep* *boop*
---


##
[0.3.0](https://github.com/googleapis/genai-toolbox/compare/v0.2.1...v0.3.0)
(2025-04-04)


### Features

* Add 'alloydb-ai-nl' tool
([#358](https://github.com/googleapis/genai-toolbox/issues/358))
([f02885f](f02885fd4a))
* Add HTTP Source and Tool
([#332](https://github.com/googleapis/genai-toolbox/issues/332))
([64da5b4](64da5b4efe))
* Adding support for Model Context Protocol (MCP).
([#396](https://github.com/googleapis/genai-toolbox/issues/396))
([a7d1d4e](a7d1d4eb2a))
* Added [toolbox-core](https://pypi.org/project/toolbox-core/) SDK –
easily integrate Toolbox into any Python function calling framework


### Bug Fixes

* Add `tools-file` flag and deprecate `tools_file`
([#384](https://github.com/googleapis/genai-toolbox/issues/384))
([34a7263](34a7263fdc)),
closes [#383](https://github.com/googleapis/genai-toolbox/issues/383)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2025-04-04 11:51:23 -07:00
totoleon
f02885fd4a feat: add 'alloydb-ai-nl' tool (#358)
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
2025-04-04 11:30:58 -07:00
Yuan
a7d1d4eb2a feat: adding support for Model Context Protocol (MCP). (#396)
Adding Toolbox support for MCP. Toolbox can now be run as an MCP server.

Fixes #312.

---------

Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
2025-04-04 18:24:34 +00:00
Andrew Brook
c46f271fa0 docs: fix typo in http tool (#393)
Fixed a typo in the doc for HTTP tool

Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2025-04-04 11:03:59 -06:00
Wenxin Du
cfffe83936 docs: fix misc typos (#364)
fix some typos and formats in code & docs
`neo4jrc` should be `neo4jsrc`
2025-04-04 12:21:24 -04:00
Wenxin Du
64da5b4efe feat: Add HTTP Source and Tool (#332)
Add Source and Tool for tool invocation through HTTP requests.
2025-04-02 14:52:35 -04:00
Twisha Bansal
38cf4c02be docs: fix open quickstart in colab link (#359) 2025-04-01 13:53:06 +05:30
Yuan
1ebb89de41 docs: update logo and architecture assets (#357) 2025-03-30 15:55:44 +00:00
Twisha Bansal
0a19ac7c3b docs: add colab quickstart (#349) 2025-03-30 09:48:43 -06:00
Twisha Bansal
a3ab38539c docs: Adopted a generic terminology for agents (#351) 2025-03-27 08:31:32 -06:00