AI Hallucinating? Use the AskQuestions Tool @DevLeonardo
AI Hallucinating? Use the AskQuestions Tool  @DevLeonardo
Uploaded March 2026 | Updated November 2026, 1 day ago
The Ask Question tool is hands down my favorite tool to give a Copilot coding agent in VS Code. In this video I show you how to set it up in a custom agent so it asks clarifying questions before doing any work, keeping you in control of the workflow. I also show a second use case with my Invoke Committer agent that asks which branch to use before committing.

#VSCode #GitHubCopilot #CodingAgent
_______________________________
Subscribe to my newsletter: https://leonardomontini.dev/newsletter
Support my work: github.com/sponsors/Balastrong ❤️

Hit like and subscribe for more content! :D

You can also follow me on the other platforms:
Discord Community: discord.gg/bqwyEa6We6
Twitter: twitter.com/Balastrong
dev.to: dev.to/balastrong
GitHub: github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok: tiktok.com/@balastrong
Instagram: instagram.com/devbalastrong

_______________________________
TIMESTAMPS
0:00 The best agent tool
0:26 Adding tools to an agent
1:01 Instructing the agent to ask
1:20 Agent asks before coding
1:44 Navigating answers fast
2:56 Asking before committing
4:08 Wrap up
AI Hallucinating? Use the AskQuestions ToolAI Smart Agents on Copilot ChatA prompt to create skillsJSON properly visualized on screenSecrets and Environment Variables in your GitHub Actionconsole.table and other variants #javascript #programmingThe AWESOME Side of GitHubCopilot generates Skills for me nowWhats being cooked with GitHub Spark 🧑‍🍳Running Typescript Type Unit TestsTanStack Router: Query Parameters & ValidationTanStack Router Setup
Dev Leonardo |

AI Hallucinating? Use the AskQuestions Tool

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER