sql-query
Read-only SELECT against a named DSN.
id tool/sql-queryv1.0.0function sql_query
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
dsn | string | yes | Named DSN identifier |
sql | string | yes | SELECT statement |
params | array | no | Parameterized values |
| returns | array | Result 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.