Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: tool_choice='none' - for sending tool results, but ensuring another tool call does not occur #849

Open
imclerran opened this issue Jan 28, 2025 · 1 comment
Assignees

Comments

@imclerran
Copy link

Currently, when sending tool results, the tool definitions must be included in the result. However, sometimes when sending tool results, a user may want to restrict the model not to call another tool. But since tool choice may not be set to "none" and the tool definitions are still present, there is no way to restrict Claude from calling any additional tools when sending tool results.

"message": "Requests which include `tool_use` or `tool_result` blocks must define tools."
@imclerran
Copy link
Author

Either an empty tool list should be permitted when sending tool results, or tool_choice should be able to be set to none.

@aaron-lerner aaron-lerner self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants