mirror of
https://github.com/hangwin/mcp-chrome.git
synced 2026-08-30 18:02:01 +08:00
fix: screenshot fix
This commit is contained in:
@@ -122,9 +122,8 @@ class ScreenshotTool extends BaseBrowserToolExecutor {
|
||||
return {
|
||||
content: [
|
||||
{
|
||||
type: 'image',
|
||||
data: base64Data,
|
||||
mimeType: compressed.mimeType,
|
||||
type: 'text',
|
||||
text: JSON.stringify({ base64Data, mimeType: compressed.mimeType }),
|
||||
},
|
||||
],
|
||||
isError: false,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"description": "a chrome extension to use your own chrome as a mcp server",
|
||||
"author": "hangye",
|
||||
"private": true,
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "wxt",
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user