Build a system prompt that coordinates extended thinking with tool calls. Prevents random tool calling, ensures think-before-act patterns, and handles tool errors gracefully. Essential for any agent that combines reasoning with actions. Free template — copy and paste into ChatGPT, Claude, or Copilot.