{
  "db_name": "PostgreSQL",
  "query": "\n            UPDATE tool_sources SET\n                name          = COALESCE($2, name),\n                description   = CASE WHEN $3 THEN $4 ELSE description END,\n                parameters    = CASE WHEN $5 THEN $6 ELSE parameters END,\n                url           = COALESCE($7, url),\n                api_key       = CASE WHEN $8 THEN $9 ELSE api_key END,\n                timeout_secs  = COALESCE($10, timeout_secs)\n            WHERE id = $1\n            RETURNING *\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "kind",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "parameters",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 5,
        "name": "url",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "api_key",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "timeout_secs",
        "type_info": "Int4"
      },
      {
        "ordinal": 8,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Bool",
        "Text",
        "Bool",
        "Jsonb",
        "Text",
        "Bool",
        "Text",
        "Int4"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      true,
      false,
      true,
      false,
      false,
      false
    ]
  },
  "hash": "b59940f9c6f881af8ea873a9bf6771f50311ef2ef5e5a268b14d4eac5c6d6e70"
}
