Merge pull request #650 from sway913/mcp
fix browser_use parameter type
This commit is contained in:
commit
bc3149e983
@ -44,12 +44,12 @@ terminate_tool = Terminate()
|
|||||||
@openmanus.tool()
|
@openmanus.tool()
|
||||||
async def browser_use(
|
async def browser_use(
|
||||||
action: str,
|
action: str,
|
||||||
url: Optional[str] = None,
|
url: str = None,
|
||||||
index: Optional[int] = None,
|
index: int = None,
|
||||||
text: Optional[str] = None,
|
text: str = None,
|
||||||
script: Optional[str] = None,
|
script: str = None,
|
||||||
scroll_amount: Optional[int] = None,
|
scroll_amount: int = None,
|
||||||
tab_id: Optional[int] = None,
|
tab_id: int = None,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Execute various browser operations.
|
"""Execute various browser operations.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user