feat: 添加 file_delete 工具支持
This commit is contained in:
@ -192,6 +192,7 @@ export interface ToolResultResponse {
|
||||
export type ToolName =
|
||||
| 'file_read'
|
||||
| 'file_write'
|
||||
| 'file_delete'
|
||||
| 'file_list'
|
||||
| 'syntax_check'
|
||||
| 'simulation'
|
||||
@ -208,6 +209,12 @@ export interface FileWriteArgs {
|
||||
content: string;
|
||||
}
|
||||
|
||||
/** file_delete 工具参数 */
|
||||
export interface FileDeleteArgs {
|
||||
/** 要删除的文件路径 */
|
||||
path: string;
|
||||
}
|
||||
|
||||
/** file_list 工具参数 */
|
||||
export interface FileListArgs {
|
||||
path?: string;
|
||||
@ -237,6 +244,7 @@ export interface WaveformSummaryArgs {
|
||||
export type ToolArgs =
|
||||
| FileReadArgs
|
||||
| FileWriteArgs
|
||||
| FileDeleteArgs
|
||||
| FileListArgs
|
||||
| SyntaxCheckArgs
|
||||
| SimulationArgs
|
||||
|
||||
Reference in New Issue
Block a user