Database Connector Pack
★Trusted◇Sandbox optionalv1.0.0MIT○Partially Verified42by AgentNode · published 6 months ago · toolpack
Connect to PostgreSQL, MySQL, SQLite, and MongoDB databases.
Universal database client for querying and managing SQL and NoSQL databases. Execute queries, inspect schemas, export results, and manage migrations.
Quick Start
agentnode install database-connector-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom database_connector_pack.tool import run
result = run(
capability="query_database",
params={
"engine": "postgresql",
"query": "SELECT customer_id, name, email, total_spent FROM customers WHERE total_spent > 500 ORDER BY total_spent DESC LIMIT 10",
"params": []
}
)
print(f"Rows returned: {result['row_count']}")
print(f"Columns: {', '.join(result['columns'])}")
print()
for row in result["rows"]:
print(f" {row['name']} ({row['email']}) — ${row['total_spent']:,.2f}")Environment Variables
DATABASE_URLDatabase connection string (e.g., postgresql://user:pass@host:5432/dbname). Can be overridden per-call via the connection_url parameter.
Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. requires API credentials for full verification.
This package requires API credentials for full verification. Install and import checks passed.
Verified in real_auto mode
Last verified 20d ago· Runner v2.0.0
Use this when you need to...
- ›Query PostgreSQL tables and return structured results
- ›Insert or update records in MySQL databases
- ›Run aggregation queries on SQLite files
- ›List collections and query documents in MongoDB
- ›Execute schema migrations and DDL statements
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install database-connector-packEnvironment Variables
DATABASE_URLrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode