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
Logs []string`json:"logs,omitempty" jsonschema:"Logs related to path translation and other operations."`
38
39
}
39
40
40
41
varReadFile=&mcp.Tool{
@@ -43,7 +44,8 @@ var ReadFile = &mcp.Tool{
43
44
}
44
45
45
46
typeReadFileResultstruct {
46
-
Contentstring`json:"content" jsonschema:"The content of the file."`
47
+
Contentstring`json:"content" jsonschema:"The content of the file."`
48
+
Logs []string`json:"logs,omitempty" jsonschema:"Logs related to path translation and other operations."`
47
49
}
48
50
49
51
typeReadFileParamsstruct {
@@ -58,7 +60,7 @@ var WriteFile = &mcp.Tool{
58
60
}
59
61
60
62
typeWriteFileResultstruct {
61
-
// Empty for now
63
+
Logs []string`json:"logs,omitempty" jsonschema:"Logs related to path translation and other operations."`
62
64
}
63
65
64
66
typeWriteFileParamsstruct {
@@ -79,6 +81,7 @@ type GlobParams struct {
79
81
80
82
typeGlobResultstruct {
81
83
Matches []string`json:"matches" jsonschema:"A list of absolute file paths that match the provided glob pattern."`
84
+
Logs []string`json:"logs,omitempty" jsonschema:"Logs related to path translation and other operations."`
82
85
}
83
86
84
87
varSearchFileContent=&mcp.Tool{
@@ -93,7 +96,8 @@ type SearchFileContentParams struct {
93
96
}
94
97
95
98
typeSearchFileContentResultstruct {
96
-
GitGrepOutputstring`json:"git_grep_output" jsonschema:"The raw output from the 'git grep -n --no-index' command, containing matching lines with filenames and line numbers."`
99
+
GitGrepOutputstring`json:"git_grep_output" jsonschema:"The raw output from the 'git grep -n --no-index' command, containing matching lines with filenames and line numbers."`
100
+
Logs []string`json:"logs,omitempty" jsonschema:"Logs related to path translation and other operations."`
// A message like: Found 10 matching lines for regex "function\\s+myFunction" in directory src:\nsrc/file1.js:10:function myFunction() {...}\nsrc/subdir/file2.ts:45: function myFunction(param) {...}...
0 commit comments