mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-11 07:35:05 -05:00
## Description Prebuilt tools for the sqlite - [x] `list_table` with simple and detailed(trigger,index,column) for each table - [x] `execute-sql` for executing any SQL statement for sqlite. - [x] added tests and done required changes in config. - [x] **Documentation update**:Done ## PR Checklist - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/langchain-google-alloydb-pg-python/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involves a breaking change 🛠️ Fixes: https://github.com/googleapis/genai-toolbox/issues/1226 --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
1.5 KiB
1.5 KiB
title, type, weight, description, aliases
| title | type | weight | description | aliases | |
|---|---|---|---|---|---|
| sqlite-execute-sql | docs | 1 | A "sqlite-execute-sql" tool executes a single SQL statement against a SQLite database. |
|
About
A sqlite-execute-sql tool executes a single SQL statement against a SQLite database.
It's compatible with any of the following sources:
This tool is designed for direct execution of SQL statements. It takes a single sql input parameter and runs the SQL statement against the configured SQLite source.
Note: This tool is intended for developer assistant workflows with human-in-the-loop and shouldn't be used for production agents.
Example
tools:
execute_sql_tool:
kind: sqlite-execute-sql
source: my-sqlite-db
description: Use this tool to execute a SQL statement.
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be "sqlite-execute-sql". |
| source | string | true | Name of the source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the LLM. |