Repository navigation
Make external capabilities usable for a browser server - #40
Merged
Merged
Conversation
Driving a local web application through Playwright MCP showed where the capability path cost turns or misled the model: - an indexed capability had to be described before every first call; an invoke whose arguments fit the schema now runs, and one that does not is answered with the description; - the server links the page snapshot it wrote after an action, in a directory no turn may read, so the model asked for the snapshot again after every click; linked_files names that directory and a linked file in it is shown with the result; - every tool not declared read was offered as a WRITE, including browser_run_code_unsafe; deny lists tools never offered; - the 20000-character result cap is now max_result_chars, and the cut says to ask for less; - the terminal sandbox cannot reach the host's loopback, so curl said the application was down while the browser reached it; the capabilities section says so.
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.
Frictions seen driving a local web app through Playwright MCP: invoke without a prior describe when the arguments fit,
linked_filesto show a linked snapshot,denylist, configurablemax_result_chars, and a note that the terminal sandbox cannot reach 127.0.0.1.