Skip to content

Conversation

@adtyavrdhn
Copy link
Contributor

@adtyavrdhn adtyavrdhn commented Dec 10, 2025

Closes #3352

Adds max_uses to tools.

I have only added support for ToolReturn and not erroring out, I don't think we should drop the entire run for tool limit exhaustion of a particular tool. Maybe we could consider this being a parameter(strict / non strict limit exceeded?) but it is not at the moment.

I will keep it in draft and wait for #3656 to go first because this has another tool return type added and we could use the prompt template and return_kind feature here as well.

@adtyavrdhn adtyavrdhn changed the title Per tool usage limit Adding per tool usage limit Dec 11, 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

Successfully merging this pull request may close these issues.

Add per-tool usage limits

1 participant