'6' is interpreted as a synonym of 'y' using tool: web_search when asked to allow action
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
MacOS Version 26.2 (25C56)
Kiro Version
kiro-cli-chat 1.22.0
Bug Description
When using tool web_search, input 6 was interpreted as y. The conversation was the following:
> ses:SendRawEmail and ses:SendEmail – what's the differnece?
Searching the web for: AWS SES SendEmail vs SendRawEmail difference (using tool: web_search)
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
> y
✓ Found 10 search results
- Completed in 2.41s
Searching the web for: AWS SES SendEmail API operation documentation (using tool: web_search)
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
> 6
> Here's what I found:
ses:SendEmail:
- Simplified API for basic email sending
- AWS constructs the email message for you
- You provide separate parameters for subject, body (text/HTML), recipients
- Limited customization of email headers
- Easier to use for standard emails
ses:SendRawEmail:
- More flexible API for advanced email sending
- You provide the complete raw email message (including headers)
- Required for multipart MIME emails (mixed text/HTML content)
- Allows custom email headers and complex message structures
- Needed for attachments, custom formatting, or specific email standards compliance
...
Steps to Reproduce
Open kiro from cli and replicate the same conversation: as a question, allow kiro to search online with 'y', then if asked to allow for another web search type 6 (or another character != [t, n, y]
Expected Behavior
I expected Kiro to ask me to allow the same again, but instead it inferred that '6' and 'yes' were synonyms.
Conversation ID
No response
Additional Context
No response
I think the current behavior is actually slightly different than what you interpreted it as: If you enter anything other than y/n/t, it's interpreted as 1) the tool use is rejected and 2) the bot receives the prompt. You can try this yourself by asking a question when given a y/n/t prompt: The agent will respond to your question instead of using the tool.
In this case I believe the agent was confused by you saying "6" and gave a response based on its memory rather than performing a web search.
I see, thank you
Cheapest Anthropic & OpenAI-Compatible API 🚀
Works with Claude Code, Cursor, Cline, Void, Continue, Kilo Code, OpenClaw, OpenCode, LangChain, Obsidian, IntelliJ — any OpenAI-compatible client.
💰 Pricing (1 credit ≈ $1 original Anthropic)
| Credits | Price | Tokens |
|---|---|---|
| 1k | $5 | ~100M |
| 5k | $15 | ~500M |
| 10k | $30 | ~1B |
🤖 Models: claude-opus-4-6 / sonnet-4-6 / haiku-4-5 (1M ctx + websearch)
✅ Why us?
- 100 trial credits before payment
- Credits issued before payment
- Any country, any payment method
- 400+ clients, quality guarantee
- We can prove Opus is real and explain pricing
📩 Telegram: @yon_sup