SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Tools
To toolcommanddatanetworkuser-promptstable

sql-mutate

INSERT / UPDATE / DELETE against a named DSN. Side-effecting.

id tool/sql-mutatev1.0.0function sql_mutate

Signature

ParameterTypeRequiredDescription
dsnstringyesNamed DSN
sqlstringyesINSERT / UPDATE / DELETE
paramsarraynoParameterized values
returnsobject{rows_affected}.

Tool definition for the model

{
  "name": "sql_mutate",
  "description": "Run a DML statement.",
  "input_schema": {
    "type": "object",
    "properties": {
      "dsn": {
        "type": "string",
        "description": "Named DSN"
      },
      "sql": {
        "type": "string",
        "description": "INSERT / UPDATE / DELETE"
      },
      "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.