( tool: ToolDefinition, filteredOutCategories: ToolCategory[], )
| 368 | } |
| 369 | |
| 370 | function toolShouldBeSkipped( |
| 371 | tool: ToolDefinition, |
| 372 | filteredOutCategories: ToolCategory[], |
| 373 | ) { |
| 374 | if (tool.annotations?.conditions) { |
| 375 | return true; |
| 376 | } |
| 377 | if ( |
| 378 | tool.annotations?.category && |
| 379 | filteredOutCategories.includes(tool.annotations?.category) |
| 380 | ) { |
| 381 | return true; |
| 382 | } |
| 383 | |
| 384 | return false; |
| 385 | } |
no outgoing calls
no test coverage detected