Prompt LibraryAgents
LLM Function-Calling JSON Schema Writer Prompt
Turn a plain description into a strict function-calling JSON schema.
The prompt
Convert this tool description into a JSON schema for function calling:
{{description}}
Rules: every parameter has a type, a description with units/format, and required vs optional marked explicitly.
Add an enum wherever the value space is closed.
Add a "dry_run" boolean parameter if the underlying action mutates data.
Return only the JSON schema, then a two-line example call.Replace the {{fields}} with your own context and tighten the rules to match your domain.
More Agents prompts
Agentic AI Spec Writer Prompt
Turn a fuzzy automation idea into a bounded agent specification.
Agent Tool Description Generator Prompt
Write a tool description a model will actually route to correctly.
Agent Tool-Use Scaffold Prompt for New Capabilities
Bootstrap the full tool-calling loop skeleton for one capability.


