SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Tools
To toolcommanddatanetworkstable

sql-query

Read-only SELECT against a named DSN.

id tool/sql-queryv1.0.0function sql_query

Signature

ParameterTypeRequiredDescription
dsnstringyesNamed DSN identifier
sqlstringyesSELECT statement
paramsarraynoParameterized values
returnsarrayResult rows as objects.

Tool definition for the model

{
  "name": "sql_query",
  "description": "Run a SELECT and return rows.",
  "input_schema": {
    "type": "object",
    "properties": {
      "dsn": {
        "type": "string",
        "description": "Named DSN identifier"
      },
      "sql": {
        "type": "string",
        "description": "SELECT statement"
      },
      "params": {
        "type": "array",
        "description": "Parameterized values"
      }
    },
    "required": [
      "dsn",
      "sql"
    ]
  }
}
Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.