Skip to content
Log in

Agent Tool Definitions Generator

Generates complete JSON Schema tool definitions for your agent — names, disambiguating descriptions, typed parameters with enums, and the error returns — ready to paste.

0

Share this prompt

Free — no card needed

Create a free account

to open Agent Tool Definitions Generator — and the other 364 prompts across 21 categories.

We store your email address to send these. We never sell it or pass it to advertisers. Withdraw at any time. Privacy Policy.

Already have an account?

CategoryAI AgentsForDevelopersTested onClaudeChatGPTGemini

Running it, start to finish

  1. Describe the agent and the capabilities it needs in plain language.
  2. Check the disambiguation table quotes a real separating sentence for every pair.
  3. Add the error-handling lines to your system prompt.

What you get back

The output this produces, every time.

  • Groups capabilities by the decisions the model makes rather than by your endpoint list.
  • Writes when-not-to-use into every description, which is what prevents wrong selection.
  • Defines the failure returns, so the agent does not misread an error as data.

Getting better results

Where this usually goes wrong, and how to avoid it.

  • Resist one tool per endpoint. It is the most common design and produces the most retries. If the model never chooses between two, they are one tool.
  • Use enums aggressively. Any closed set as an enum rather than a string removes a whole class of malformed call before it happens.
  • Fix ambiguities with context, not longer descriptions. Descriptions past about four sentences stop helping. The system prompt is where remaining ambiguity gets resolved.

More AI Agents prompts

All AI Agents

Written for The AI University. Every prompt in this library is original work — authored, tested and revised here, not collected from elsewhere. 365 of them, free with an account.