File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ See documentation for more details on configuring database connections.
143143 // Print sources and tools table
144144 const sourceDisplayInfos = buildSourceDisplayInfo (
145145 sources ,
146- ( sourceId ) => getToolsForSource ( sourceId ) . map ( ( t ) => t . name ) ,
146+ ( sourceId ) => getToolsForSource ( sourceId ) . map ( ( t ) => t . readonly ? `🔒 ${ t . name } ` : t . name ) ,
147147 isDemo
148148 ) ;
149149 console . error ( generateStartupTable ( sourceDisplayInfos ) ) ;
Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ function buildSearchObjectsTool(sourceId: string): Tool {
246246 description : "Max results (default: 100, max: 1000)" ,
247247 } ,
248248 ] ,
249+ readonly : true , // search_objects is always readonly
249250 } ;
250251}
251252
You can’t perform that action at this time.
0 commit comments