GetDefaultToolsetIDs returns the IDs of toolsets marked as Default. This is a convenience function that builds an inventory to determine defaults.
()
| 483 | // GetDefaultToolsetIDs returns the IDs of toolsets marked as Default. |
| 484 | // This is a convenience function that builds an inventory to determine defaults. |
| 485 | func GetDefaultToolsetIDs() []string { |
| 486 | // Build() can only fail if WithTools specifies invalid tools - not used here |
| 487 | r, _ := NewInventory(stubTranslator).Build() |
| 488 | ids := r.DefaultToolsetIDs() |
| 489 | result := make([]string, len(ids)) |
| 490 | for i, id := range ids { |
| 491 | result[i] = string(id) |
| 492 | } |
| 493 | return result |
| 494 | } |
| 495 | |
| 496 | // RemoteOnlyToolsets returns toolset metadata for toolsets that are only |
| 497 | // available in the remote MCP server. These are documented but not registered |
nothing calls this directly
no test coverage detected