19 lines
542 B
Go
19 lines
542 B
Go
// Package tools provides the built-in tool handlers for the toolsrv server.
|
|
// Each file in this package is one tool. Builtins() is the single registry.
|
|
package tools
|
|
|
|
import "ollie/toolsrv"
|
|
|
|
// Builtins returns the default set of built-in tool handlers.
|
|
func Builtins() map[string]toolsrv.Handler {
|
|
return map[string]toolsrv.Handler{
|
|
"shell": Shell,
|
|
"tool_list": ToolList,
|
|
"tool_load": ToolLoad,
|
|
"tool_active": ToolActive,
|
|
"skill_list": SkillList,
|
|
"skill_load": SkillLoad,
|
|
"skill_active": SkillActive,
|
|
}
|
|
}
|