Skip to content

Commit c7a3f46

Browse files
authored
Merge pull request #859 from minbang930/fix/extracted-content-properties
fix/extracted content properties
2 parents 8127bf2 + eef1060 commit c7a3f46

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

app/tool/browser_use_tool.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,22 @@ async def execute(
448448
"extracted_content": {
449449
"type": "object",
450450
"description": "The content extracted from the page according to the goal",
451+
"properties": {
452+
"text": {
453+
"type": "string",
454+
"description": "Text content extracted from the page",
455+
},
456+
"metadata": {
457+
"type": "object",
458+
"description": "Additional metadata about the extracted content",
459+
"properties": {
460+
"source": {
461+
"type": "string",
462+
"description": "Source of the extracted content",
463+
}
464+
},
465+
},
466+
},
451467
}
452468
},
453469
"required": ["extracted_content"],

0 commit comments

Comments
 (0)