File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ const (
126126 SpawnAgentToolName = "spawn_agent"
127127)
128128
129- // AllToolNames returns all valid tool spec names.
129+ // AllToolNames returns all standard tool spec names that can be registered directly.
130+ // Note: activate_skill is excluded as it requires a skills registry and is registered separately.
130131func AllToolNames () []string {
131132 return []string {
132133 ReadFileToolName ,
@@ -140,11 +141,11 @@ func AllToolNames() []string {
140141 ImageGenerateToolName ,
141142 AskUserToolName ,
142143 SpawnAgentToolName ,
143- ActivateSkillToolName ,
144144 }
145145}
146146
147147// validToolNames is a set of valid tool spec names for fast lookup.
148+ // Note: activate_skill is excluded as it requires a skills registry and is registered separately.
148149var validToolNames = map [string ]bool {
149150 ReadFileToolName : true ,
150151 WriteFileToolName : true ,
@@ -157,7 +158,6 @@ var validToolNames = map[string]bool{
157158 ImageGenerateToolName : true ,
158159 AskUserToolName : true ,
159160 SpawnAgentToolName : true ,
160- ActivateSkillToolName : true ,
161161}
162162
163163// ValidToolName checks if a name is a valid tool spec name.
You can’t perform that action at this time.
0 commit comments