Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Toolkdeps asset

kdeps-tools-sql_ops

v1.0.0

Run SQL against a named connection in config.yaml sql_connections and return the rows or a change summary. Databases: PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, Oracle. One statement (query + params), or several in one transaction (transaction + queries). Requires: connectionName.

set tools / shelf tools

LLM context: ~287 tokens when loaded (prompt or tool definition)

Where it runs

Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.

  1. the agent loop builds the request
  2. the tool definitions are sent to the modeltools/sql_ops
  3. the model calls a tool
  4. kdeps runs it
  5. the result goes back to the model

Loaded by: kdeps (agent loop), /update, /settings, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update

In the code: kdeps (agent loop)agent.RegisterBuiltinToolsagent.definedAs

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install tools/sql_ops

Pin a version with kdeps install tools/sql_ops@<version>.

Contents

Run SQL against a named connection in config.yaml sql_connections and return the rows or a change summary. Databases: PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, Oracle. One statement (query + params), or several in one transaction (transaction + queries). Requires: connectionName.

ParameterTypeDescription
connectionName *stringName under sql_connections in ~/.kdeps/config.yaml
formatstringRows shape: table (default), json or csv
maxRowsintegerRows a SELECT returns at most. Default: KDEPS_SQL_MAX_ROWS, else 1000
paramsarrayPlaceholder values, in order - a JSON array
queriesarrayTransaction statements: [{query, params}] or [{query, paramsBatch}]
querystringOne SQL statement. Placeholders may be $1, $N, ?, ?N, @pN or :N
timeoutstringStatement timeout as a Go duration or seconds. Default: KDEPS_SQL_TIMEOUT, else 30s
transactionbooleanRun queries in one transaction. Default: false

Versions

VersionPublishedStatus
1.0.010/21/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
10/21/2026

Tags

kdepstool