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
* Search for string patterns in the project's files. This tool uses ripgrep (rg), a fast line-oriented search tool. Use this tool only when read_files is not sufficient to find the files you need.
94
94
*/
95
95
exportinterfaceCodeSearchParams{
96
-
// The pattern to search for.
96
+
/** The pattern to search for. */
97
97
pattern: string
98
-
// Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-t ts" for TypeScript files only, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, "--type-not test" to exclude test files).
98
+
/** Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-t ts" for TypeScript files only, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, "--type-not test" to exclude test files). */
99
99
flags?: string
100
-
// Optional working directory to search within, relative to the project root. Defaults to searching the entire project.
100
+
/** Optional working directory to search within, relative to the project root. Defaults to searching the entire project. */
101
101
cwd?: string
102
102
}
103
103
104
104
/**
105
105
* Generate a detailed markdown plan for complex tasks.
106
106
*/
107
107
exportinterfaceCreatePlanParams{
108
-
// The path including the filename of a markdown file that will be overwritten with the plan.
108
+
/** The path including the filename of a markdown file that will be overwritten with the plan. */
109
109
path: string
110
-
// A detailed plan to solve the user's request.
110
+
/** A detailed plan to solve the user's request. */
* Find several files related to a brief natural language description of the files or the name of a function or class you are looking for.
121
121
*/
122
122
exportinterfaceFindFilesParams{
123
-
// A brief natural language description of the files or the name of a function or class you are looking for. It's also helpful to mention a directory or two to look within.
123
+
/** A brief natural language description of the files or the name of a function or class you are looking for. It's also helpful to mention a directory or two to look within. */
124
124
prompt: string
125
125
}
126
126
127
127
/**
128
128
* Fetch up-to-date documentation for libraries and frameworks using Context7 API.
129
129
*/
130
130
exportinterfaceReadDocsParams{
131
-
// The exact library or framework name (e.g., "Next.js", "MongoDB", "React"). Use the official name as it appears in documentation, not a search query.
131
+
/** The exact library or framework name (e.g., "Next.js", "MongoDB", "React"). Use the official name as it appears in documentation, not a search query. */
132
132
libraryTitle: string
133
-
// Optional specific topic to focus on (e.g., "routing", "hooks", "authentication")
133
+
/** Optional specific topic to focus on (e.g., "routing", "hooks", "authentication") */
134
134
topic?: string
135
-
// Optional maximum number of tokens to return. Defaults to 10000. Values less than 10000 are automatically increased to 10000.
135
+
/** Optional maximum number of tokens to return. Defaults to 10000. Values less than 10000 are automatically increased to 10000. */
136
136
max_tokens?: number
137
137
}
138
138
139
139
/**
140
140
* Read the multiple files from disk and return their contents. Use this tool to read as many files as would be helpful to answer the user's request.
141
141
*/
142
142
exportinterfaceReadFilesParams{
143
-
// List of file paths to read.
143
+
/** List of file paths to read. */
144
144
paths: string[]
145
145
}
146
146
147
147
/**
148
148
* Parameters for run_file_change_hooks tool
149
149
*/
150
150
exportinterfaceRunFileChangeHooksParams{
151
-
// List of file paths that were changed and should trigger file change hooks
151
+
/** List of file paths that were changed and should trigger file change hooks */
152
152
files: string[]
153
153
}
154
154
155
155
/**
156
156
* Execute a CLI command from the **project root** (different from the user's cwd).
157
157
*/
158
158
exportinterfaceRunTerminalCommandParams{
159
-
// CLI command valid for user's OS.
159
+
/** CLI command valid for user's OS. */
160
160
command: string
161
-
// Either SYNC (waits, returns output) or BACKGROUND (runs in background). Default SYNC
161
+
/** Either SYNC (waits, returns output) or BACKGROUND (runs in background). Default SYNC */
162
162
process_type: 'SYNC'|'BACKGROUND'
163
-
// The working directory to run the command in. Default is the project root.
163
+
/** The working directory to run the command in. Default is the project root. */
164
164
cwd?: string
165
-
// Set to -1 for no timeout. Does not apply for BACKGROUND commands. Default 30
165
+
/** Set to -1 for no timeout. Does not apply for BACKGROUND commands. Default 30 */
166
166
timeout_seconds: number
167
167
}
168
168
169
169
/**
170
170
* Send a message to another agent (parent or child) for communication and data exchange.
171
171
*/
172
172
exportinterfaceSendAgentMessageParams{
173
-
// ID of the target agent to send message to. Use "PARENT_ID" to send to parent agent.
173
+
/** ID of the target agent to send message to. Use "PARENT_ID" to send to parent agent. */
174
174
target_agent_id: string
175
-
// Message prompt to send to the target agent
175
+
/** Message prompt to send to the target agent */
176
176
prompt: string
177
-
// Optional parameters object to send with the message
177
+
/** Optional parameters object to send with the message */
* Deeply consider complex tasks by brainstorming approaches and tradeoffs step-by-step.
253
253
*/
254
254
exportinterfaceThinkDeeplyParams{
255
-
// Detailed step-by-step analysis. Initially keep each step concise (max ~5-7 words per step).
255
+
/** Detailed step-by-step analysis. Initially keep each step concise (max ~5-7 words per step). */
256
256
thought: string
257
257
}
258
258
259
259
/**
260
260
* Update a subgoal in the context given the id, and optionally the status or plan, or a new log to append. Feel free to update any combination of the status, plan, or log in one invocation.
// Add a log message to the subgoal. This will create a new log entry and append it to the existing logs. Use this to record your progress and any new information you learned as you go.
269
+
/** Add a log message to the subgoal. This will create a new log entry and append it to the existing logs. Use this to record your progress and any new information you learned as you go. */
270
270
log?: string
271
271
}
272
272
273
273
/**
274
274
* Search the web for current information using Linkup API.
275
275
*/
276
276
exportinterfaceWebSearchParams{
277
-
// The search query to find relevant web content
277
+
/** The search query to find relevant web content */
278
278
query: string
279
-
// Search depth - 'standard' for quick results, 'deep' for more comprehensive search. Default is 'standard'.
279
+
/** Search depth - 'standard' for quick results, 'deep' for more comprehensive search. Default is 'standard'. */
280
280
depth: 'standard'|'deep'
281
281
}
282
282
283
283
/**
284
284
* Create or edit a file with the given content.
285
285
*/
286
286
exportinterfaceWriteFileParams{
287
-
// Path to the file relative to the **project root**
287
+
/** Path to the file relative to the **project root** */
288
288
path: string
289
-
// What the change is intended to do in only one sentence.
289
+
/** What the change is intended to do in only one sentence. */
0 commit comments