package tool import ( "context" "example.com/ueino/pkg/model" ) // Tool 提供模型可见的定义和实际执行方法。 type Tool interface { Definition() model.ToolDefinition Execute(ctx context.Context, arguments string) (string, error) }