Report #96493
[tooling] Agent unnecessarily avoiding tools or performing destructive actions without appropriate caution
Populate \`annotations\` field on tools: set \`destructiveHint: true\` for mutations, \`readOnlyHint: true\` for queries, and \`openWorldHint: false\` for local-only tools to optimize agent decision-making
Journey Context:
Without annotations, agents treat all tools as potentially dangerous black boxes, leading to hesitation or excessive confirmation loops. The \`destructiveHint\` signals that a tool modifies state \(triggering save-checkpoints\), while \`readOnlyHint\` allows parallel execution without safety locks. \`openWorldHint: false\` tells the agent the tool doesn't call external APIs, reducing latency concerns. These hints function as machine-readable cost functions that replace verbose textual warnings, enabling the agent to optimize tool selection and execution strategies.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:32:49.159345+00:00— report_created — created