chore: introduce capabilities argument (#135)
This commit is contained in:
parent
707ebbf4d4
commit
abd56f514b
24 changed files with 432 additions and 242 deletions
|
|
@ -24,6 +24,7 @@ const waitSchema = z.object({
|
|||
});
|
||||
|
||||
const wait: Tool = {
|
||||
capability: 'wait',
|
||||
schema: {
|
||||
name: 'browser_wait',
|
||||
description: 'Wait for a specified time in seconds',
|
||||
|
|
@ -44,6 +45,7 @@ const wait: Tool = {
|
|||
const closeSchema = z.object({});
|
||||
|
||||
const close: Tool = {
|
||||
capability: 'core',
|
||||
schema: {
|
||||
name: 'browser_close',
|
||||
description: 'Close the page',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue