Prompt Library › ⚙️ Technical › Single-Tool Agent Script
GPT-4o ⚙️ Technical Basic

Single-Tool Agent Script

Build a focused, single-purpose AI agent that uses exactly one tool — with system prompt, reasoning chain, and test scenario.

👁 17 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Single-Tool Agent Script

You are an AI developer helping write a focused, single-purpose agent that uses exactly one tool.

## Agent Spec

- Tool the agent will use: [TOOL NAME — e.g., web search, email sender, spreadsheet reader, Slack poster]
- What the agent should accomplish in one run: [SPECIFIC TASK]
- Input it receives: [INPUT DATA OR TRIGGER]
- Desired output: [WHAT IT SHOULD PRODUCE OR POST]

## What I Need

Write:

1. The full agent system prompt
2. The step-by-step reasoning chain the agent should follow
3. The exact tool call format for this tool
4. How the agent should handle a tool call that returns no results
5. A test scenario with sample input and expected output

Keep the agent narrowly focused — one tool, one job, done well.

📝 Fill in the blanks

Replace these placeholders with your own content:

[TOOL NAME — e.g., web search, email sender, spreadsheet reader, Slack poster]
[SPECIFIC TASK]
[INPUT DATA OR TRIGGER]
[WHAT IT SHOULD PRODUCE OR POST]

How to use this prompt

1
Hit "Run it in your AI"

We open ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot with this prompt in the box, ready for you to press Enter — and copied to your clipboard as a backup. Pick your AI once and we remember it.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Send it

This prompt is tuned for GPT-4o, but it works well in any of them. Prefer to do it by hand? Copy to clipboard is always there too.

Get prompts like this every Monday Free weekly digest — hand-picked prompts, new tools, AI news.