-
Notifications
You must be signed in to change notification settings - Fork 771
FEAT: Tool Use + MCP #1811
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
Open
ValbuenaVC
wants to merge
21
commits into
microsoft:main
Choose a base branch
from
ValbuenaVC:MCP
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
FEAT: Tool Use + MCP #1811
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7a664c5
Add mcp Python SDK dependency
d68d75c
Merge branch 'main' into MCP
ValbuenaVC c7d65d3
Add tools/ package with tool_loop decorator and CallableToolBackend
39752ac
Addition of pyrit/tools package and unit tests. Introduces base model…
e8ab8ff
Addition of MCP components including the MCP client and tool backend.
c61bcfe
Add supports_tool_use capability + ToolEventPolicy and wire tool_loop…
f566914
Merge branch 'main' into MCP
ValbuenaVC b5fa035
Merge branch 'main' into MCP
ValbuenaVC 7a54cb2
Drop C5 (Chat target tool calling): defer to follow-up, redesign arou…
b010591
Migrate OpenAIResponseTarget onto @tool_loop and LocalToolBackend
6d3a79a
Add integration tests for RedTeamingAttack with real MCP tool dispatch
1fc70b3
Add InlineToolCallParser for chat-template-based open models
85b59bc
Include tool_event_policy and tool_backend in target identifier params
2129e20
Convert reST cross-reference roles in pyrit/tools docstrings to MyST
eca19a1
Tighten tests/unit/tools: drop redundant asyncio markers and narrow r…
9b80e14
Merge branch 'main' into MCP
ValbuenaVC da726ff
Teach ChatMessageNormalizer to serialize function_call and function_c…
c99f44f
Hoist _tool_schemas default onto PromptTarget
179d176
Add tool_parser and tool_backend kwargs to AzureMLChatTarget
22dc6a0
Add tool_parser and tool_backend kwargs to HuggingFaceChatTarget
4e30e61
Add AzureMLChatTarget integration test for tool-loop end-to-end
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.