File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ export const getAvailableTools = () => {
32
32
console . error ( "[Web Agent Interface] No tools found for the current page" ) ;
33
33
} ;
34
34
35
- export * as Overleaf from ' ./page/overleaf' ;
35
+ export * as Overleaf from " ./page/overleaf" ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export class PageHandler implements IPageHandler {
87
87
}
88
88
89
89
export const availableTools : ToolName [ ] = [
90
- "getSelection " ,
91
- "replaceSelection " ,
92
- "appendText " ,
90
+ "getSelectedText " ,
91
+ "replaceSelectedText " ,
92
+ "appendTextToDocument " ,
93
93
] ;
Original file line number Diff line number Diff line change 1
1
const tools : Record < string , ToolInfo > = {
2
2
getSelection : {
3
- name : "getSelection " ,
3
+ name : "getSelectedText " ,
4
4
displayName : "Get Selected Text" ,
5
5
description :
6
6
"Get the user's current selected text content on the document." ,
@@ -15,7 +15,7 @@ const tools: Record<string, ToolInfo> = {
15
15
} ,
16
16
} ,
17
17
replaceSelection : {
18
- name : "replaceSelection " ,
18
+ name : "replaceSelectedText " ,
19
19
displayName : "Replace Selected Text" ,
20
20
description :
21
21
"Replace the user's current selected text content on the document with new text content." ,
@@ -36,7 +36,7 @@ const tools: Record<string, ToolInfo> = {
36
36
} ,
37
37
} ,
38
38
appendText : {
39
- name : "appendText " ,
39
+ name : "appendTextToDocument " ,
40
40
displayName : "Append New Text" ,
41
41
description : "Add some text content to the end of the document." ,
42
42
schema : {
You can’t perform that action at this time.
0 commit comments