Skip to content

Commit ffa40fc

Browse files
committed
activate skill should not be registered here
1 parent 275498d commit ffa40fc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/tools/types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.
130131
func 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.
148149
var 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.

0 commit comments

Comments
 (0)