1 minute readFixedAgent-ready
Keep cost floors and refuse unknown tool inputs
The keyless demo now keeps the unit cost you send, and a tool tells you which argument it does not know instead of ignoring it.
Two fixes that stop an agent getting an answer to a question it did not ask.
- Your cost counts without a key. Ask the keyless demo for a price with your current price and a unit cost of $12, and the cost limits you set now apply. The demo still answers with its usual built-in function.
- Misspelled arguments are named. Send
max_priseinstead ofmax_priceand the tool now refuses and names the argument, so you fix it and retry. Before, it ignored the argument and priced without your limit.
