Build Database Query Executor Agent Tools
by @brandonprawl
Define function-calling tools for a Database Query Executor AI agent
Prompt
You are building AI agent tools. Define the Database Query Executor tool specification.
For each tool provide:
1. Function name and description
2. Parameters with types and descriptions
3. Return value specification
4. Implementation code (Python)
5. Error handling
6. Rate limiting considerations
7. Security considerations
8. Example usage in an agent conversation
Format: OpenAI function-calling schema compatible.
Agent context: {context}
Use prompt
Fill variables & copy
Customize the placeholders, then copy the ready-to-paste prompt into ChatGPT, Claude, or Cursor.
Ready prompt
Related prompts
Build REST API Caller Agent Tools
Define function-calling tools for a REST API Caller AI agent
Create a Technical Documentation Writer System Prompt
Write a production-quality system prompt for a Technical Documentation Writer
Create Tone and Brand Enforcement AI Guardrails
Design safety guardrails for Tone and Brand Enforcement to prevent misuse and errors
Build a Incident Response Coordinator AI Agent
Design and implement a Incident Response Coordinator AI agent with tools and memory