AgisHub
🛢️

SQL Query

Safe, read-only database access

🗂️ Data & FilesAPIMCPSDK

Overview

Connect a database and let agents run validated, read-only SQL. A guardrail layer blocks writes and destructive statements while returning typed, paginated rows.

Call it from any agent

curl https://api.agishub.com/v1/tools/sql \
  -H "Authorization: Bearer $AGISHUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "connection": "prod-ro", "query": "SELECT count(*) FROM users" }'

Parameters

NameTypeRequiredDescription
connectionstringYesConnection id.
querystringYesRead-only SQL.

Related tools