Turn a working SELECT into a tool without pasting SQL into the prompt
We have a SELECT that returns the policy header the agent needs. How do we make that a tool?
Set the Hub URL and an API key in [[product:ol-dataiq|OL DataIQ]] admin and test them. From the successful query, create it in a Hub API project or a DB module. The agent then calls the published operation. It does not need the SQL, the connection string, or a direct login to DB2.