Skip to content

Conversation

uc4w6c
Copy link
Contributor

@uc4w6c uc4w6c commented Sep 12, 2025

Title

Tool Permission Guardrail

Relevant issues

#14517

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
📖 Documentation
✅ Test

Changes

This PR introduces a new Tool Permission Guardrail that inspects tool calls emitted by models and enforces pattern-based allow/deny rules.

Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Sep 12, 2025 10:36pm

@krrishdholakia
Copy link
Contributor

krrishdholakia commented Sep 14, 2025

This is amazing. Thank you for this! @uc4w6c

Would you be interested in working with us to improve the MCP integration?

Happy to chat via email ([email protected]) or linkedin

@krrishdholakia krrishdholakia merged commit 11822e6 into BerriAI:main Sep 14, 2025
5 of 6 checks passed
@uc4w6c uc4w6c deleted the feat/add_tools_permission_guardrail branch September 14, 2025 22:00
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.

2 participants