mirror of
https://github.com/aaronjmars/opendia.git
synced 2025-12-29 16:16:00 +00:00
fix tools
This commit is contained in:
@@ -213,17 +213,6 @@ function getAvailableTools() {
|
||||
required: ["condition_type"]
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "browser_navigate",
|
||||
description: "Navigate to a URL in the active tab",
|
||||
inputSchema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
url: { type: "string", description: "URL to navigate to" },
|
||||
},
|
||||
required: ["url"],
|
||||
},
|
||||
},
|
||||
|
||||
// Tab Management Tools
|
||||
{
|
||||
@@ -521,9 +510,6 @@ async function handleMCPRequest(message) {
|
||||
case "page_wait_for":
|
||||
result = await sendToContentScript('wait_for', params);
|
||||
break;
|
||||
case "browser_navigate":
|
||||
result = await navigateToUrl(params.url);
|
||||
break;
|
||||
|
||||
// Tab management tools
|
||||
case "tab_create":
|
||||
|
||||
Reference in New Issue
Block a user