Prompt LibraryAgents
Agent Tool-Use Scaffold Prompt for New Capabilities
Bootstrap the full tool-calling loop skeleton for one capability.
The prompt
Capability to add: {{capability}}
Produce, in order:
1. The tool's function-calling schema (name, description, params, return shape).
2. The system prompt clause that tells the model when to call it and when not to.
3. Three test requests: one that should call it, one that should not, one ambiguous case and how to resolve it.
4. The error the tool should return on invalid input, and the recovery instruction for the model.Replace the {{fields}} with your own context and tighten the rules to match your domain.
More Agents prompts
Agent Prompt-vs-Tool Boundary Decider Prompt
Decide if a capability belongs in the prompt or a tool.
Bounded Agent Loop Prompt Template
System prompt for an agent that keeps explicit state and stops cleanly.
Agent Tool Description Generator Prompt
Write a tool description a model will actually route to correctly.



