Describe the feature
Currently, we are using stopAtToolNames inside toolUseBehavior to end an agent run when specific tools are called. We would love to be able to have optional behavior to still have the agent make one more generation after the final tool call, but prohibit additional tools from being called.
Our current workaround is using the parameters object on the tool call to define the last generation, but this makes it harder for us to keep our tools dry and reusable across agents.