feat: implement Spec method for tools and update tool resolution logic in the registry

This commit is contained in:
mlogclub
2026-04-14 09:56:37 +08:00
parent e42b2b0f4d
commit 200631cc0b
9 changed files with 53 additions and 2 deletions
@@ -24,6 +24,10 @@ func NewHandoffGraphTool() *HandoffGraphTool {
return &HandoffGraphTool{}
}
func (t *HandoffGraphTool) Spec() toolx.ToolSpec {
return toolx.GraphHandoffConversation
}
func (t *HandoffGraphTool) Name() string {
return toolx.GraphHandoffConversation.Name
}