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
Copy file name to clipboardExpand all lines: docs/namespaces.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,12 @@ Nerve offers a rich set of predefined tools, organized in namespaces, that the a
6
6
7
7
Let the agent create its own tools in Python.
8
8
9
+
<details>
10
+
<summary><b>Show Tools</b></summary>
9
11
| Tool | Description |
10
12
|------|-------------|
11
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> |
14
+
</details>
12
15
13
16
## computer
14
17
@@ -18,6 +21,8 @@ Let the agent create its own tools in Python.
18
21
19
22
Computer use primitives for mouse, keyboard, and screen.
20
23
24
+
<details>
25
+
<summary><b>Show Tools</b></summary>
21
26
| Tool | Description |
22
27
|------|-------------|
23
28
|`get_cursor_position`| <pre>Get the current mouse position.</pre> |
@@ -31,48 +36,78 @@ Computer use primitives for mouse, keyboard, and screen.
31
36
|`mouse_right_click`| <pre>Click the right mouse button at the current mouse position.</pre> |
32
37
|`mouse_scroll`| <pre>Scroll the mouse wheel in the given direction.</pre> |
33
38
|`screenshot`| <pre>Take a screenshot of the current screen.</pre> |
39
+
</details>
34
40
35
41
## filesystem
36
42
37
43
Read-only access primitives to the local filesystem.
38
44
45
+
<details>
46
+
<summary><b>Show Tools</b></summary>
39
47
| Tool | Description |
40
48
|------|-------------|
41
49
|`list_folder_contents`| <pre>List the contents of a folder on disk.</pre> |
42
50
|`read_file`| <pre>Read the contents of a file from disk.</pre> |
51
+
</details>
52
+
53
+
## inquire
54
+
55
+
Let the agent interactively ask questions to the user in a structured way.
56
+
57
+
<details>
58
+
<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> |
65
+
</details>
43
66
44
67
## reasoning
45
68
46
69
Simulates the reasoning process at runtime.
47
70
71
+
<details>
72
+
<summary><b>Show Tools</b></summary>
48
73
| Tool | Description |
49
74
|------|-------------|
50
75
|`clear_thoughts`| <pre>If the reasoning process proved wrong, inconsistent or ineffective, clear your thoughts and start again.</pre> |
51
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> |
77
+
</details>
52
78
53
79
## shell
54
80
55
81
Let the agent execute shell commands.
56
82
83
+
<details>
84
+
<summary><b>Show Tools</b></summary>
57
85
| Tool | Description |
58
86
|------|-------------|
59
87
|`shell`| <pre>Execute a shell command on the local computer and return the output. Non interactive shell with a timeout of 30 seconds.</pre> |
88
+
</details>
60
89
61
90
## task
62
91
63
92
Let the agent autonomously set the task as complete or failed.
64
93
94
+
<details>
95
+
<summary><b>Show Tools</b></summary>
65
96
| Tool | Description |
66
97
|------|-------------|
67
98
|`task_complete_success`| <pre>When your objective has been reached use this tool to set the task as complete.</pre> |
68
99
|`task_failed`| <pre>Use this tool if you determine that the given goal or task is impossible given the information you have.</pre> |
100
+
</details>
69
101
70
102
## time
71
103
72
104
Provides tools for getting the current date and time and waiting for a given number of seconds.
73
105
106
+
<details>
107
+
<summary><b>Show Tools</b></summary>
74
108
| Tool | Description |
75
109
|------|-------------|
76
110
|`current_time_and_date`| <pre>Get the current date and time.</pre> |
77
111
|`wait`| <pre>Wait for a given number of seconds.</pre> |
0 commit comments