{
  "db_name": "PostgreSQL",
  "query": "select\n                b.operation_id,\n                a.id as agent_id,\n                a.slug as agent_slug,\n                a.display_name\n             from agents a\n             join published_agents pa on pa.agent_id = a.id\n             join agent_operation_bindings b\n               on b.agent_id = a.id and b.agent_version = pa.version\n             where a.workspace_id = $1\n             order by a.display_name asc, b.tool_name asc",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "operation_id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "agent_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "agent_slug",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "display_name",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false
    ]
  },
  "hash": "fdd05b145021a19dda9a9f44c31ff21a2f73a4416d0cf20be418bba36def9eb4"
}
