Skip to content

Commit 01c3abb

Browse files
put extract back
1 parent dc89087 commit 01c3abb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stagehand/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ const TOOLS: Tool[] = [
9696
required: ["action"],
9797
},
9898
},
99-
/*
10099
{
101100
name: "stagehand_extract",
102101
description: `Extracts structured data from the web page based on an instruction and a JSON schema.`,
@@ -192,7 +191,6 @@ const TOOLS: Tool[] = [
192191
required: ["instruction", "schema"],
193192
},
194193
},
195-
*/
196194
{
197195
name: "stagehand_observe",
198196
description: "Observes actions that can be performed on the web page",
@@ -386,7 +384,6 @@ async function handleToolCall(
386384
};
387385
}
388386

389-
/*
390387
case "stagehand_extract":
391388
try {
392389
log(`Extracting data with instruction: ${args.instruction}`);
@@ -432,7 +429,6 @@ async function handleToolCall(
432429
isError: true,
433430
};
434431
}
435-
*/
436432
case "stagehand_observe":
437433
try {
438434
log(`Starting observation with instruction: ${args.instruction}`);

0 commit comments

Comments
 (0)