HasToolset checks if any tool/resource/prompt belongs to the given toolset.
(toolsetID ToolsetID)
| 292 | |
| 293 | // HasToolset checks if any tool/resource/prompt belongs to the given toolset. |
| 294 | func (r *Inventory) HasToolset(toolsetID ToolsetID) bool { |
| 295 | return r.toolsetIDSet[toolsetID] |
| 296 | } |
| 297 | |
| 298 | // AllTools returns all tools without any filtering, sorted deterministically. |
| 299 | func (r *Inventory) AllTools() []ServerTool { |
no outgoing calls