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: .agents/types/tools.d.ts
+53-53Lines changed: 53 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,56 @@
1
+
/**
2
+
* Union type of all available tool names
3
+
*/
4
+
exporttypeToolName=
5
+
|'add_message'
6
+
|'add_subgoal'
7
+
|'browser_logs'
8
+
|'code_search'
9
+
|'create_plan'
10
+
|'end_turn'
11
+
|'find_files'
12
+
|'read_docs'
13
+
|'read_files'
14
+
|'run_file_change_hooks'
15
+
|'run_terminal_command'
16
+
|'send_agent_message'
17
+
|'set_messages'
18
+
|'set_output'
19
+
|'spawn_agents'
20
+
|'spawn_agents_async'
21
+
|'str_replace'
22
+
|'think_deeply'
23
+
|'update_subgoal'
24
+
|'web_search'
25
+
|'write_file'
26
+
27
+
/**
28
+
* Map of tool names to their parameter types
29
+
*/
30
+
exportinterfaceToolParamsMap{
31
+
add_message: AddMessageParams
32
+
add_subgoal: AddSubgoalParams
33
+
browser_logs: BrowserLogsParams
34
+
code_search: CodeSearchParams
35
+
create_plan: CreatePlanParams
36
+
end_turn: EndTurnParams
37
+
find_files: FindFilesParams
38
+
read_docs: ReadDocsParams
39
+
read_files: ReadFilesParams
40
+
run_file_change_hooks: RunFileChangeHooksParams
41
+
run_terminal_command: RunTerminalCommandParams
42
+
send_agent_message: SendAgentMessageParams
43
+
set_messages: SetMessagesParams
44
+
set_output: SetOutputParams
45
+
spawn_agents: SpawnAgentsParams
46
+
spawn_agents_async: SpawnAgentsAsyncParams
47
+
str_replace: StrReplaceParams
48
+
think_deeply: ThinkDeeplyParams
49
+
update_subgoal: UpdateSubgoalParams
50
+
web_search: WebSearchParams
51
+
write_file: WriteFileParams
52
+
}
53
+
1
54
/**
2
55
* Add a new message to the conversation history. To be used for complex requests that can't be solved in a single step, as you may forget what happened!
0 commit comments