Duplicate proxy history tools to retrieve requests from Organizer.#87
Open
TheREK3R wants to merge 1 commit into
Open
Duplicate proxy history tools to retrieve requests from Organizer.#87TheREK3R wants to merge 1 commit into
TheREK3R wants to merge 1 commit into
Conversation
…seful for exporting manually created/grouped requests)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
I often create requests manually in Repeater and the current tools don't offer a good way to export those requests. Because the Montoya API supports retrieving HTTP requests from organizer, this change allows export of non-proxy requests once they have been saved to Organizer.
Related issues
None
Notes
The
OrganizerItemtype inherits fromHttpRequestResponseso all logic here works identically to the HTTP Proxy retrieval tools.This change copied the existing tool code for the HTTP proxy retrieval and modified 2 lines per method to update the description and change the targeted method from
api.proxy().history()toapi.organizer().items().The added tools rely on the existing HTTP history permission for access.
It looks like the current tests for the proxy history just relate to pagination so I did not add additional tests.
Manual verification
Built and verified manually calling the MCP server from Kiro.