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
@@ -8,9 +8,15 @@ Let the agent create its own tools in Python.
8
8
9
9
<details>
10
10
<summary><b>Show Tools</b></summary>
11
-
| Tool | Description |
12
-
|------|-------------|
13
-
|`create_tool`| <pre>Create a new tool or redefine an existing one by defining it as an annotated Python function.<br> Use this tool to implement the missing functionalities you need to perform your task.</pre> |
11
+
12
+
### `create_tool`
13
+
14
+
<pre>Create a new tool or redefine an existing one by defining it as an annotated Python function.
15
+
Use this tool to implement the missing functionalities you need to perform your task.</pre>
16
+
17
+
**Parameters**
18
+
19
+
*`code` <i>(<class 'str'>)</i>: The Python code to create the tool.
14
20
</details>
15
21
16
22
## computer
@@ -23,19 +29,69 @@ Computer use primitives for mouse, keyboard, and screen.
23
29
24
30
<details>
25
31
<summary><b>Show Tools</b></summary>
26
-
| Tool | Description |
27
-
|------|-------------|
28
-
|`get_cursor_position`| <pre>Get the current mouse position.</pre> |
29
-
|`keyboard_press_hotkeys`| <pre>Press one or more hotkeys on the keyboard.</pre> |
30
-
|`keyboard_type`| <pre>Type the given text on the keyboard.</pre> |
31
-
|`mouse_double_click`| <pre>Double click the left mouse button at the current mouse position.</pre> |
32
-
|`mouse_left_click`| <pre>Click the left mouse button at the current mouse position.</pre> |
33
-
|`mouse_left_click_drag`| <pre>Click and drag the left mouse button from the current mouse position to the given coordinates.</pre> |
34
-
|`mouse_middle_click`| <pre>Click the middle mouse button at the current mouse position.</pre> |
35
-
|`mouse_move`| <pre>Move the mouse to the given coordinates.</pre> |
36
-
|`mouse_right_click`| <pre>Click the right mouse button at the current mouse position.</pre> |
37
-
|`mouse_scroll`| <pre>Scroll the mouse wheel in the given direction.</pre> |
38
-
|`screenshot`| <pre>Take a screenshot of the current screen.</pre> |
32
+
33
+
### `get_cursor_position`
34
+
35
+
<pre>Get the current mouse position.</pre>
36
+
37
+
### `keyboard_press_hotkeys`
38
+
39
+
<pre>Press one or more hotkeys on the keyboard.</pre>
40
+
41
+
**Parameters**
42
+
43
+
*`keys` <i>(<class 'str'>)</i>: The hotkey sequence to press (like 'ctrl+shift+cmd+space')
44
+
### `keyboard_type`
45
+
46
+
<pre>Type the given text on the keyboard.</pre>
47
+
48
+
**Parameters**
49
+
50
+
*`text` <i>(<class 'str'>)</i>: The text to type
51
+
### `mouse_double_click`
52
+
53
+
<pre>Double click the left mouse button at the current mouse position.</pre>
54
+
55
+
### `mouse_left_click`
56
+
57
+
<pre>Click the left mouse button at the current mouse position.</pre>
58
+
59
+
### `mouse_left_click_drag`
60
+
61
+
<pre>Click and drag the left mouse button from the current mouse position to the given coordinates.</pre>
62
+
63
+
**Parameters**
64
+
65
+
*`x` <i>(<class 'int'>)</i>: The x coordinate to move to
66
+
*`y` <i>(<class 'int'>)</i>: The y coordinate to move to
67
+
### `mouse_middle_click`
68
+
69
+
<pre>Click the middle mouse button at the current mouse position.</pre>
70
+
71
+
### `mouse_move`
72
+
73
+
<pre>Move the mouse to the given coordinates.</pre>
74
+
75
+
**Parameters**
76
+
77
+
*`x` <i>(<class 'int'>)</i>: The x coordinate to move to
78
+
*`y` <i>(<class 'int'>)</i>: The y coordinate to move to
79
+
### `mouse_right_click`
80
+
81
+
<pre>Click the right mouse button at the current mouse position.</pre>
82
+
83
+
### `mouse_scroll`
84
+
85
+
<pre>Scroll the mouse wheel in the given direction.</pre>
86
+
87
+
**Parameters**
88
+
89
+
*`x` <i>(<class 'int'>)</i>: The x coordinate to move to
90
+
*`y` <i>(<class 'int'>)</i>: The y coordinate to move to
91
+
### `screenshot`
92
+
93
+
<pre>Take a screenshot of the current screen.</pre>
94
+
39
95
</details>
40
96
41
97
## filesystem
@@ -44,10 +100,21 @@ Read-only access primitives to the local filesystem.
44
100
45
101
<details>
46
102
<summary><b>Show Tools</b></summary>
47
-
| Tool | Description |
48
-
|------|-------------|
49
-
|`list_folder_contents`| <pre>List the contents of a folder on disk.</pre> |
50
-
|`read_file`| <pre>Read the contents of a file from disk.</pre> |
103
+
104
+
### `list_folder_contents`
105
+
106
+
<pre>List the contents of a folder on disk.</pre>
107
+
108
+
**Parameters**
109
+
110
+
*`path` <i>(<class 'str'>)</i>: The path to the folder to list
111
+
### `read_file`
112
+
113
+
<pre>Read the contents of a file from disk.</pre>
114
+
115
+
**Parameters**
116
+
117
+
*`path` <i>(<class 'str'>)</i>: The path to the file to read
51
118
</details>
52
119
53
120
## inquire
@@ -56,12 +123,38 @@ Let the agent interactively ask questions to the user in a structured way.
56
123
57
124
<details>
58
125
<summary><b>Show Tools</b></summary>
59
-
| Tool | Description |
60
-
|------|-------------|
61
-
|`ask_for_confirmation`| <pre>Ask a confirmation question to the user.</pre> |
62
-
|`ask_for_multiple_choice`| <pre>Ask a multiple choice question to the user.</pre> |
63
-
|`ask_for_single_choice`| <pre>Ask a single choice question to the user.</pre> |
64
-
|`ask_question`| <pre>Ask a question to the user.</pre> |
126
+
127
+
### `ask_for_confirmation`
128
+
129
+
<pre>Ask a confirmation question to the user.</pre>
130
+
131
+
**Parameters**
132
+
133
+
*`question` <i>(<class 'str'>)</i>: The question to ask the user.
134
+
*`default` <i>(<class 'bool'>)</i>: The default answer to the question.
135
+
### `ask_for_multiple_choice`
136
+
137
+
<pre>Ask a multiple choice question to the user.</pre>
138
+
139
+
**Parameters**
140
+
141
+
*`question` <i>(<class 'str'>)</i>: The question to ask the user.
142
+
*`choices` <i>(list[str])</i>: The choices to offer the user.
143
+
### `ask_for_single_choice`
144
+
145
+
<pre>Ask a single choice question to the user.</pre>
146
+
147
+
**Parameters**
148
+
149
+
*`question` <i>(<class 'str'>)</i>: The question to ask the user.
150
+
*`choices` <i>(list[str])</i>: The choices to offer the user.
151
+
### `ask_question`
152
+
153
+
<pre>Ask a question to the user.</pre>
154
+
155
+
**Parameters**
156
+
157
+
*`question` <i>(<class 'str'>)</i>: The question to ask the user.
65
158
</details>
66
159
67
160
## reasoning
@@ -70,10 +163,40 @@ Simulates the reasoning process at runtime.
70
163
71
164
<details>
72
165
<summary><b>Show Tools</b></summary>
73
-
| Tool | Description |
74
-
|------|-------------|
75
-
|`clear_thoughts`| <pre>If the reasoning process proved wrong, inconsistent or ineffective, clear your thoughts and start again.</pre> |
76
-
|`think`| <pre>Adhere strictly to this reasoning framework, ensuring thoroughness, precision, and logical rigor.<br><br> ## Problem Decomposition<br><br> Break the query into discrete, sequential steps.<br> Explicitly state assumptions and context.<br><br> ## Stepwise Analysis<br><br> Address each step individually.<br> Explain the rationale, principles, or rules applied (e.g., mathematical laws, linguistic conventions).<br> Use examples, analogies, or intermediate calculations to illustrate reasoning.<br><br> ## Validation & Error Checking<br><br> Verify logical consistency at each step.<br> Flag potential oversights, contradictions, or edge cases.<br> Confirm numerical accuracy (e.g., recompute calculations).<br><br> ## Synthesis & Conclusion<br><br> Integrate validated steps into a coherent solution.<br> Summarize key insights and ensure the conclusion directly addresses the original query.</pre> |
166
+
167
+
### `clear_thoughts`
168
+
169
+
<pre>If the reasoning process proved wrong, inconsistent or ineffective, clear your thoughts and start again.</pre>
170
+
171
+
### `think`
172
+
173
+
<pre>Adhere strictly to this reasoning framework, ensuring thoroughness, precision, and logical rigor.
174
+
175
+
## Problem Decomposition
176
+
177
+
Break the query into discrete, sequential steps.
178
+
Explicitly state assumptions and context.
179
+
180
+
## Stepwise Analysis
181
+
182
+
Address each step individually.
183
+
Explain the rationale, principles, or rules applied (e.g., mathematical laws, linguistic conventions).
184
+
Use examples, analogies, or intermediate calculations to illustrate reasoning.
185
+
186
+
## Validation & Error Checking
187
+
188
+
Verify logical consistency at each step.
189
+
Flag potential oversights, contradictions, or edge cases.
0 commit comments