What tool use is
Tool use lets the model call your functions instead of hallucinating an answer. We cover JSON Schema, the call loop, and Claude / OpenAI / Gemini differences.
Describe three tools (get_weather, search_docs, send_email) as JSON Schema. For each, write a 1–2 sentence description that explicitly states WHEN the model should call it. Mark mandatory fields via required.
Copy and adapt to your context. Text in angle brackets should be replaced.
I'm designing a tool set for an AI agent. Domain: <…> List of actions the agent should support: <…> For each action, propose a tool as JSON Schema: name (snake_case), a description with an explicit calling condition, typed parameters, required. State which actions should NOT be tools.