You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Append text content to the end of the document.",
145
+
insertText: {
146
+
name: "insertText",
147
+
displayName: "Insert Text",
148
+
description:
149
+
"Insert the specified text at a given position relative to the document: at the beginning, end, or cursor position.",
160
150
schema: {
161
151
type: "function",
162
152
function: {
163
-
name: "appendTextToDocument",
153
+
name: "insertText",
164
154
description:
165
-
"appendTextToDocument(text: str) - Add some text content to the end of the document.\\n\\n Args:\\n text (str): Text content to be added to the end of the document.",
155
+
"insertText(parameters: { textToInsert: str, position: 'beginning' | 'end' | 'cursor' }) - Insert text into the document at the specified position.\\n\\n Args:\\n textToInsert (str): The text content to be inserted.\\n position ('beginning' | 'end' | 'cursor'): Where to insert the text (beginning of the document, end of the document, or at the cursor position).",
description: "Fetch the entire text content of the current webpage.",
116
+
getPageContext: {
117
+
name: "getPageContext",
118
+
displayName: "Get Page Context",
119
+
description: "Get context information regarding the current page which the user is currently viewing.",
101
120
schema: {
102
121
type: "function",
103
122
function: {
104
-
name: "getPageContent",
123
+
name: "getPageContext",
105
124
description:
106
-
"getPageContent() -> str - Fetches the entire text content of the current webpage.\n\n Returns:\n str: The entire text content of the webpage.",
125
+
"getPageContext() -> str - Get context information regarding the current page which the user is currently viewing.\n\n Returns:\n str: The entire text content of the webpage.",
0 commit comments