mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-23 04:21:31 -07:00
Agent Skills: Implement /skills reload (#15865)
This commit is contained in:
@@ -225,6 +225,15 @@ export class ToolRegistry {
|
||||
this.allKnownTools.set(tool.name, tool);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregisters a tool definition by name.
|
||||
*
|
||||
* @param name - The name of the tool to unregister.
|
||||
*/
|
||||
unregisterTool(name: string): void {
|
||||
this.allKnownTools.delete(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sorts tools as:
|
||||
* 1. Built in tools.
|
||||
|
||||
Reference in New Issue
Block a user